A

Admin • 833K Points
Coach

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

  • (A) function int foo();
  • (B) int foo();
  • (C) declare foo();
  • (D) func foo() int;
  • Correct Answer - Option(B)
  • Views: 26
  • 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.