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
Who is the founder of c language?
What are pragmas and what are they good for?
What is main function in c?
What is a union?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Is javascript written in c?
Can a local variable be volatile in c?
What is memory leak in c?
Is c programming hard?
What is hashing in c?
Can 'this' pointer by used in the constructor?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Stimulate calculator using Switch-case-default statement for two numbers
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }