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

Answer Posted / nishi

getch() is not waiting to press enter to show output on screen.
but getchar() is waiting to press enter to show output.

Is This Answer Correct ?    92 Yes 46 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to calculate sum of digits till it reduces to a single digit using recursion

2721


How do shell structures work?

569


What are qualifiers and modifiers c?

549


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3190


How does sizeof know array size?

630






What is a const pointer in c?

670


What are the functions to open and close file in c language?

729


How can I open files mentioned on the command line, and parse option flags?

595


Tell us the use of fflush() function in c language?

640


How pointer is different from array?

580


What is difference between constant pointer and constant variable?

630


Difference between MAC vs. IP Addressing

642


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

636


Explain Function Pointer?

681


How do you define a function?

583