+ 1
Elaborate the difference between getch(); and return 0; .....????
question to all...
2 Answers
+ 3
for your kind information
you should not use getch() in c++ ,
Some old c program still uses getch(), when output pops up on terminal then it waits keyboard input to terminate the program the key may be Enter key.
every int main () returns value to operating system ..
if u define return 0 ; it defines program successfully completed .
Hope your clear
+ 1
Thank you so much buddy... Mock