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
how to introdu5ce my self in serco
please give me some tips for the placement in the TCS.
Where are the auto variables stored?
What is unsigned int in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is #error and use of it?
Why is sizeof () an operator and not a function?
Where are some collections of useful code fragments and examples?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How are strings stored in c?
Define the scope of static variables.
Explain can static variables be declared in a header file?
Why we use conio h in c?
what do you mean by enumeration constant?
where are auto variables stored? What are the characteristics of an auto variable?