Difference
between getch() and gethe() function
The getche() function:
Syntax:
getche();
This function is used
to get a character from the input device as similar to getch() function but the only difference is the
entered character is displayed on the screen in getche() , and not displayed in
getch() function.
Example program:
The output is
You can see that in
getch() the input u is not displayed while entering the input ,whereas in
getche () the input w is displayed while entering the input.
Thank you ….
for more similar posts ,Link to blog home page : https://iamafutureprogrammer.blogspot.com/
0 comments: