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 meant by recursion?

1057


What is scanf () in c?

1131


Why can't I perform arithmetic on a void* pointer?

1104


What does d mean?

1104


Give differences between - new and malloc() , delete and free() ?

1102


How are variables declared in c?

1107


Why do we write return 0 in c?

1074


Difference between goto, long jmp() and setjmp()?

1182


Write a program to use switch statement.

1136


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1819


What is register variable in c language?

1034


What is a void pointer in c?

1114


What are the different types of control structures in programming?

1136


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1538


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1562