0
difference between return and getch
in our university we are using this getch
1 Answer
+ 3
when you write int before any function(like int main)...it means you will return an integer number so return keyword is used to return something
whereas getch(); function means get the character...so by using this function compiler will wait for the user to get any character and then only program will terminate.... so indirectly we see an output screen until we press any character