what is the difference between getch() and getche()?

Answer Posted / umer khan

getch() is a library file to #include <conio.h> which is mostly used in stidios compiler......
while getche() takes input frm the user withtout presing '\r'

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in scanf in c?

616


What is wrong with this program statement? void = 10;

816


Explain high-order and low-order bytes.

661


How can I determine whether a machines byte order is big-endian or little-endian?

615


Does sprintf put null character?

595






When is a null pointer used?

635


Explain the difference between getch() and getche() in c?

563


Explain how can a program be made to print the line number where an error occurs?

690


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

832


Why header file is used in c?

573


Why do we use null pointer?

601


What is function prototype?

607


Why clrscr is used in c?

579


What is a nested loop?

643


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1793