Is both getch() and getchar() functions are similar? if it is
similar means why these two functions are used for same usage?
if it is not similar means what is the difference?



Is both getch() and getchar() functions are similar? if it is similar means why these two function..

Answer / madhu.s.a

No ,its not same because getch()is used to get the output
screen and getchar() is used to get the single character
input.


I dont know whether it is correct or not.

Is This Answer Correct ?    21 Yes 8 No

Post New Answer

More C Interview Questions

What are the advantages of c preprocessor?

0 Answers  


What is the difference between declaring a variable and defining a variable?

0 Answers  


Explain how to reverse singly link list.

0 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 Answers  






What are the 5 organizational structures?

0 Answers  


How would you print out the data in a binary tree, level by level, starting at the top?

6 Answers   Amazon, Microsoft,


The file stdio.h, what does it contain?

0 Answers  


Is there a way to switch on strings?

0 Answers  


Find MAXIMUM of three distinct integers using a single C statement

0 Answers  


What are operators in c?

0 Answers  


Describe the order of precedence with regards to operators in C.

0 Answers  


Categories