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

  • (A) function int foo();
  • (B) int foo();
  • (C) declare foo();
  • (D) int foo;
πŸ’¬ Discuss
βœ… Correct Answer: (B) int foo();
Explanation: int foo(); is a valid function declaration in C.
Explanation by: Mr. Dubey
int foo(); is a valid function declaration in C.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate