What does the following C-statement declare? [1 mark] int ( * f) (int * ) ;

GATE · 2005 · CS

What does the following C-statement declare? [1 mark]

int ( * f) (int * ) ;

  1. A.

    A function that takes an integer pointer as argument and returns an integer.

  2. B.

    A function that takes an integer as argument and returns an integer pointer.

  3. C.

    A pointer to a function that takes an integer pointer as argument and returns an integer.

  4. D.

    A function that takes an integer pointer as argument and returns a function pointer

Attempted by 645 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…