Quiz Yourself on Function Pointers
Test your understanding of function pointers.
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);
Question 1 of 60 attempted
Get hands-on with 1400+ tech skills courses.