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
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
b id the correct option.......
c=getchar(void)
thank u
Is This Answer Correct ? | 26 Yes | 0 No |
Answer / moolshankershukla
first define :
char c;
printf("enter character ");
c=getchar();
Is This Answer Correct ? | 5 Yes | 0 No |
What is the significance of c program algorithms?
What is the meaning of && in c?
Can you explain the four storage classes in C?
Magic square
What is spaghetti programming?
what is the difference between #include<stdio.h> and #include "stdio.h" ?
What is function what are the types of function?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Write a program for print infinite numbers
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
what is the difference between getch() and getchar()?
What is #include called?