A

Admin • 828.03K Points
Coach

Q. Which of the following correctly declares a function in C?

  • (A) function int foo();
  • (B) int foo();
  • (C) declare foo();
  • (D) int foo;
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
int foo(); is a valid function declaration in C.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.