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 / moolshankershukla
first define :
char c;
printf("enter character ");
c=getchar();
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is pointer and structure in c?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is use of null pointer in c?
What is meant by keywords in c?
Is printf a keyword?
What are enums in c?
Can we declare variables anywhere in c?
Explain the process of converting a Tree into a Binary Tree.
What is the explanation for prototype function in c?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
How can I avoid the abort, retry, fail messages?
How can I make sure that my program is the only one accessing a file?
What is c standard library?
What is the difference between printf and scanf in c?