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 can I trap or ignore keyboard interrupts like control-c?
What is variable and explain rules to declare variable in c?
explain what is fifo?
What's a good way to check for "close enough" floating-point equality?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What does do in c?
What are integer variable, floating-point variable and character variable?
Differentiate between static and dynamic modeling.
What is string concatenation in c?
Why use int main instead of void main?
How does selection sort work in c?
How do c compilers work?
Explain about C function prototype?
Can a variable be both const and volatile?
What is a dynamic array in c?