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 are the general description for loop statement and available loop types in c?
What are linked lists in c?
What is the benefit of using const for declaring constants?
Write a program to swap two numbers without using a temporary variable?
What is the difference between typedef and #define?
Do you know what are the properties of union in c?
When is a “switch” statement preferable over an “if” statement?
What is wrong with this program statement?
How can you tell whether a program was compiled using c versus c++?
Find MAXIMUM of three distinct integers using a single C statement
How can I sort more data than will fit in memory?
Explain how do you determine a file’s attributes?
Why is %d used in c?
Can you please explain the difference between exit() and _exit() function?
What is the difference between variable declaration and variable definition in c?