what is the difference between getch() and getchar()?
Answer Posted / shruti
@Nishi
the answer you have posted is wrong..
Getch() and getchar() are two inbuilt functions..
in getch()
the argument to the function is any key on the keyboard,
not necessarily be a character (A - Z).
getchar()
the argument is a character -> alphabet (A - Z)..
| Is This Answer Correct ? | 76 Yes | 43 No |
Post New Answer View All Answers
What are the different types of C instructions?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is the difference between a free-standing and a hosted environment?
how to create duplicate link list using C???
What is declaration and definition in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is meant by operator precedence?
Where define directive used?
Why flag is used in c?
Describe newline escape sequence with a sample program?
Why c is a procedural language?
Explain what is the purpose of "extern" keyword in a function declaration?
How can you pass an array to a function by value?
In C language what is a 'dangling pointer'?