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?
Answer Posted / 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 View All Answers
Why n++ execute faster than n+1 ?
diff between exptected result and requirement?
swap 2 numbers without using third variable?
Process by which one bit pattern in to another by bit wise operation is?
How does struct work in c?
What does emoji p mean?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What are integer variable, floating-point variable and character variable?
What is the difference between text and binary i/o?
write a program to find the given number is prime or not
What is the size of array float a(10)?
Write a program to check armstrong number in c?