+ 2
What is the difference between int and void (@ beginning of the main function)
2 Respostas
+ 1
int returns an int once the function finished it will return somthing back to were it was called..
void returns nothing meaning when the function has finished executing it just exits the function without returning anything back to were it was called.