+ 2
What is the difference between int main and void main
5 Answers
+ 7
no problem bro or sis
+ 6
int-is a data type like float,double,string
main-is function it is important because computer check this first and then other things
void main -is a function which has no return type
+ 3
Int and void are return type... When we need to return some value we use int.. And when we don't need to return any value we use void. Clear?
0
thanks