Function Pointer Basics
Sorting Functions
QnA
Question 1
What is a function pointer?
1 point
- A pointer to the last instruction in a function
- A pointer to the first instruction in a function
- A function return value that is a pointer
- A function parameter that is a pointer
Question 2
What is the most useful application of function pointers?
1 point
- As parameters to a function
- As command line arguments
- As return values of a function
- As an alternative to the
int *
type
Question 3