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 |
Why is c called a mid-level programming language?
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
? ???Mirror Mirror on the wall????????
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
what will be the output: main(){char ch;int a=10;printf("%d",ch);}
36 Answers Accenture, TCS, Wipro,
what is the difference between procedure oriented and object oriented progaming language
When should you not use a type cast?
What is alloca() and why is its use discouraged?
How to declare a variable?
Who is invented by c?