What is the difference between return 0 and getch()…

(1) return 0 means you are returning a integer which          means at the accepting end the value gotten is 0.          In case of getch(), it hold the display of the                    console till you press enter.
(2) return 0 mean the value is return.

     getch() mean to keep answer in output screen.

5 thoughts on “What is the difference between return 0 and getch()…

Leave a Reply

Your email address will not be published.