πŸ“Š C Programming
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;
πŸ’¬ 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

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate