Single Choice Easy

QWhat is a pointer to a function in C?

ID: #7195 Pointer in C Language 203 views
Question Info
#7195Q ID
EasyDifficulty
Pointer in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • 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
Correct Answer

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.

Share This Question

Challenge a friend or share with your study group.