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 / shashiprabha singh
c=getchar() is the right ans
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is getch() function?
Write a program to swap two numbers without using third variable in c?
Write a program to find factorial of a number using recursive function.
Explain what is the difference between functions getch() and getche()?
Explain the difference between exit() and _exit() function?
Is a pointer a kind of array?
What are the preprocessor categories?
Why do we use pointer to pointer in c?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What is the difference between memcpy and memmove?
How can you allocate arrays or structures bigger than 64K?
What does c mean in basketball?
How do I get a null pointer in my programs?
Does sprintf put null character?