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 |
What is the total generic pointer type?
#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
Explain what will the preprocessor do for a program?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What are enums in c?
What is the use of #define preprocessor in c?
why u join this call center?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
Why is C language being considered a middle level language?
what does ‘#include’ mean?