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

Explain the use of #pragma exit?

0 Answers  


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

0 Answers  


Explain what does a function declared as pascal do differently?

0 Answers  


how to find binary of number?

2 Answers  


i have a written test for microland please give me test pattern

0 Answers   Microland,


write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

2 Answers  


Input any no. and print all the the numbers that comes before it like this for e.g input = 4 0 01 012 0123 01234 plz answer it 2day

3 Answers  


What is an anonymous union and where to apply that ?

3 Answers   HP,


How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 Answers  


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


how to print "hai" in c?

13 Answers   TCS,


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


Categories