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 |
In a switch statement, explain what will happen if a break statement is omitted?
wat are the two methods for swapping two numbers without using temp variable??
can u give me the good and very optimised code for a car racing game?
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
What is the difference b/w Structure & Array?
Explain the use of 'auto' keyword in c programming?
What does & mean in scanf?
What should not contain a header file?
How do I send escape sequences to control a terminal or other device?
what is the difference between postfix and prefix unary increment operators?
When was c language developed?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??