What is the difference between getch() and getche()?
Answer Posted / vinod kumar
getch() returns the character you typed without displaying
it on the screen.
getche() returns the character you typed by displaying
(echoing) it on the screen.
and finally, getchar() works similarly and echos the
character that u typed on the screen after "enter" is given.
| Is This Answer Correct ? | 31 Yes | 1 No |
Post New Answer View All Answers
What is the difference between malloc() and calloc() function in c language?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
How to declare a variable?
What are 3 types of structures?
What is a union?
Are c and c++ the same?
What are the advantages of union?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What do the functions atoi(), itoa() and gcvt() do?
write a progrmm in c language take user interface generate table using for loop?
What does %p mean c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Describe newline escape sequence with a sample program?
What is methods in c?
What is NULL pointer?