+ 2
where we want to use int main(),return 0;and void main(),getch();...,??
4 Answers
+ 5
when u use int main(),that means return integer ,if u use void main () that means return nothing .if u don't use getch(),u can not see output properly..getch() holds the output screen ..
+ 6
You should always use the int main version as that is the latest standard. The other is obsolete Turbo C++ syntax and only works with the decade old unsupported compiler.
+ 4
thank you sir...
+ 2
read basics concepts of program