Question 184Asked in CIL MT Systems, 26 Mar 2017 (12:30 PM)

Which of the following statements is TRUE for the function prototype declaration given below?

Which of the following statements is TRUE for the function prototype declaration given below? int *(*P) (char *Q[]);
  1. AP is a function that accepts an argument which is a character array and returns a pointer to an integer quantity.
  2. BP is a function that accepts an argument which is a pointer to a character array and returns a pointer to an integer quantity.
  3. CP is a pointer to a function that accepts an argument which is an array of character pointers, and returns a pointer to an integer quantity.
  4. DP is a pointer to function that accepts an argument which is a character array and returns a pointer to an integer quantity.
Show answerHide answer

Correct answer: (C) P is a pointer to a function that accepts an argument which is an array of character pointers, and returns a pointer to an integer quantity.

From CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM)

This is question 184 of CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.