What should main() return in C and C++?
Answers
Answered by
0
Answer: The return value for main is used to indicate how the program exited .
Explanation: In C++ , int main ( ) can be left without a return value at which point it defaults to returning 0 .
Similar questions