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
Difference between Shallow copy and Deep copy?
List some of the static data structures in C?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How do c compilers work?
Explain the process of converting a Tree into a Binary Tree.
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Tell me when is a void pointer used?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is the difference between functions getch() and getche()?
Why do we use & in c?
What is the full form of getch?
What is the equivalent code of the following statement in WHILE LOOP format?
How to get string length of given string in c?
write a program to copy the string using switch case?