Computer Science · Pointers in C/C++
What does the following declaration mean in C/C++? int (fp)(char);
- 1A pointer to a pointer pointing to an integer variable
- 2A pointer to an array of character elements
- 3A pointer to a function that takes a char* argument and returns an int✓
- 4A function that takes a char* argument and returns a pointer to an int
Correct answer
A pointer to a function that takes a char* argument and returns an int
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Pointers in C/C++?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Pointers in C/C++