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 difference between getch() and getche()?

Answer Posted / rama krishna sidhartha

Here are some examples for getch() and getche() to distinguish :

Example for getch() :

main()
{
getch();
}
OUTPUT : black screen(nothing is displayed)

Example for getche() :

main()
{
getche();
}
OUTPUT : u(the cursor waits for sometime untill you press
any key from the keyboard after pressing it immediately goes
to blue screen)

Is This Answer Correct ?    40 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the = symbol and == symbol?

1173


Tell me about low level programming languages.

1190


application attempts to perform an operation?

2036


I have seen function declarations that look like this

1097


What are different types of operators?

1097


What’s the special use of UNIONS?

1206


Is struct oop?

1064


Why use int main instead of void main?

1181


Explain what is output redirection?

1249


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2575


Is fortran faster than c?

1083


Explain setjmp()?

1119


What are the different types of endless loops?

1129


What is the use of a semicolon (;) at the end of every program statement?

1589


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

2416