+ 1
Why should we mention 'int' before main() function ? What is the use of it?
4 ответов
+ 4
You can also write
void main () here void represent void will not return any value and int main represent that it will return int value .
+ 3
It tells that the function would return an integer value when called.
+ 2
Int is. A datatype
Int main is main function which can u write an return value
Int main (){
return 0;
}
0
Got..it Thanks.