which one of follwoing will read a character from keyboard
and store in c
a)c=getc()
b)c=getchar()
c)c=getchar(stdin)
d)getc(&c)
e)none
Answer Posted / jalal
b)c=getc(c)
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
How do we make a global variable accessible across files? Explain the extern keyword?
Explain what is the difference between far and near ?
What is the best way of making my program efficient?
What is the argument of a function in c?
What is the difference between a function and a method in c?
Is main a keyword in c?
Explain the red-black trees?
When was c language developed?
If you know then define #pragma?
What is the difference between functions abs() and fabs()?
how we can make 3d venturing graphics on outer interface
Is using exit() the same as using return?
In c programming language, how many parameters can be passed to a function ?
why we wont use '&' sing in aceesing the string using scanf
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }