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
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is the basic structure of c?
How is = symbol different from == symbol in c programming?
Explain about C function prototype?
What is array of structure in c programming?
What are the properties of union in c?
What is the difference between #include and #include 'file' ?
Can we increase size of array in c?
What does the error message "DGROUP exceeds 64K" mean?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What are the different types of errors?
What is the difference between array and structure in c?
What is the difference between c and python?
Are local variables initialized to zero by default in c?
I have seen function declarations that look like this