what is the use of getch() function in C program..
difference b/w getch() and getche()??
Answers were Sorted based on User's Feedback
Answer / satnam
getch() is accept the input from the user & write directly in the memory without displaying on the screen.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sudheer varma
getch() is a predefined function.By using this function we
can read a key stroke from keyword.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ajendra singh
During the program execution, a single character is get or read through the getch(). The given value is not displayed on the screen and the compiler does not wait for another character to be typed and returns to the program.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / valli
getche() is used to get a character from console and echoes to the screen.
getchar() is used to get or read the input (i.e a single character)at run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satish dwivedi
getch() represent in c program to receive value in input
integer and terminate the whole program.
| Is This Answer Correct ? | 14 Yes | 26 No |
Answer / vbr
getch() is the function to see the out put but getch()??
is used to examin the out put
| Is This Answer Correct ? | 74 Yes | 103 No |
Answer / vijay
if u uses gcc u find it good for nothing ..........
| Is This Answer Correct ? | 6 Yes | 35 No |
write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..
How to access or modify the const variable in c ?
16 Answers HCL, HP,
int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
What are the concepts introduced in OOPs?
What are compound statements?
Why is structure important for a child?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
What is cohesion and coupling in c?
Does * p ++ increment p or what it points to?
Where static variables are stored in memory in c?