what is the default return type of main function in c?
main function return type is integer by default. But it cam be void also . When return type is integer ,you have to include "return 0" statement at the end . This line returns zero to the operating system at the end of the program.