...

/

Quiz Yourself on Function Pointers

Quiz Yourself on Function Pointers

Test your understanding of function pointers.

We'll cover the following...

Function pointers

1.

Given the following function declaration:

char func(int x, double y);

What is the correct function pointer fptr for the function declaration above?

A.
char(*fptr)(int, double);
B.
char(fptr)(int, double)*;
C.
char(fptr*)(int, double);
D.
char(int, double)(*fptr);

1 / 6
...