0
return 0
I know that we can use the return 0 to show the output instead of disappearing after 1 second And my teacher told to me that we also can use system("pause") to do it . However, it couldn't be compiled in this app but it could be compiled in Visual studio 2015(I tried it) what is the problem ?
1 Respuesta
- 2
Every program we write , compile and run is machine-dependent , for example : you need clrscr(); function in Turbo C to ascertain that the console screen is clear , whereas this is not needed in Ubuntu(Linux)