Computer Science, asked by Cuteshivai1357, 1 year ago

What should main() return in C and C++?

Answers

Answered by omegads04
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