Return type of main ()

Explain what is return type of the main ()?

E

Expert

Verified

Return type of main () is integer that is main () returns an integer type value to operating system. Thus, each main () must end with the return (0) statement. Its general format is,

Int main ()
…………
Return 0;

   Related Questions in C/C++ Programming

©TutorsGlobe All rights reserved 2022-2023.