what is the default return type of function in c?
The default return value of main() in c is 0. This is because by default the data type of main() is int and it cannot be left without any return value.