Q: What is a pointer to a function in C?
-
A
A pointer that points to a specific memory location in a program
-
B
A pointer that stores the address of a function in memory
-
C
A pointer that can be used to access the arguments of a function
-
D
A pointer that can only be used to call functions that return void
B
Answer:
B
Explanation:
Answer: B
Explanation: A pointer to a function in C is a pointer that stores the address of a function in memory. You can use this pointer to call the function directly, without having to refer to it by name.
Related Topic:
Share Above MCQ