Q. What is the default return type of main() if not specified?

  • (A) void
  • (B) int
  • (C) char
  • (D) float
πŸ’¬ Discuss
βœ… Correct Answer: (B) int
Explanation: C assumes int as the default return type if not specified explicitly.
Explanation by: Mr. Dubey
C assumes int as the default return type if not specified explicitly.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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