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 |
out put of printf(ā%dā,printf(ram));
What is difference between union and structure in c?
Write a C program to print 1 2 3 ... 100 without using loops?
Can you please explain the difference between malloc() and calloc() function?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What are the Advantages of using macro
Write a program to generate random numbers in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is a pointer value and address in c?
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
Why void main is used in c?