+ 2
hey we can use void main() in place of int main() right? what's the difference? #needhelp
3 Answers
+ 1
int main always return value but void main do not return any value.
0
void main doesn't returns a value but int main return a value that's the different
0
void means does not return any values and int means it returns a int value