(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.
(2) return 0 mean the value is return.
getch() mean to keep answer in output screen.
4 Comments
Thank you
ReplyDelete👍👍👍👍
ReplyDeleteExcellent answer
ReplyDeletenice
ReplyDelete