Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of getch() function in C program..
difference b/w getch() and getche()??

Answer Posted / sachin alawadhi

getch() function used to freeze the output screen after
the result and when the any key entered and return an ASCII
value of that character. But don't show what character was
entered by the user.
whereas getche() function shows ASCII value as well as
entered charachter.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile variable how do you declare it?

1026


What is graph in c?

1007


What is f'n in math?

1009


What is the purpose of void in c?

992


How can I find out how much free space is available on disk?

1013


What is difference between far and near pointers?

985


Write a code of a general series where the next element is the sum of last k terms.

986


What is the difference between fread and fwrite function?

1033


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1222


Is main a keyword in c?

1082


What header files do I need in order to define the standard library functions I use?

997


What is volatile, register definition in C

1056


When is the “void” keyword used in a function?

1428


What is %d called in c?

1182


How to declare a variable?

959