A

Admin • 833.24K Points
Coach

Q. What is a correct syntax for declaring a pointer to a function returning int?

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

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.