Which option gives the correct interpretation of the following declaration in…

PYQ DSSSB 2018

Which option gives the correct interpretation of the following declaration in C++?
int(*p[5])();

  1. A.

    p is a pointer to function

  2. B.

    p is an array of pointers to function

  3. C.

    p is a pointer to such function which return type is array

  4. D.

    p is a pointer to an array of functions

Attempted by 1159 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…