πŸ“Š C++
Q. What is the default return type of the 'main()' function in C++?
  • (A) void
  • (B) int
  • (C) float
  • (D) char
πŸ’¬ Discuss
βœ… Correct Answer: (B) int

Explanation: In C++, the 'main()' function must return an 'int' value by default.

Explanation by: Vijay Sangwan
In C++, the 'main()' function must return an 'int' value by default.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
86%
Success Rate