A

Admin • 833K Points
Coach

Q. Which of the following is a correct declaration of a function pointer?

  • (A) int *f();
  • (B) int (*f)();
  • (C) *int f();
  • (D) f int*();
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

int (*f)(); declares a pointer to a function returning int.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.