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 |
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
Which is more efficient, a switch statement or an if else chain?
How are variables declared in c?
What is the use of the restrict keyword?
write a c program to find the sum of five entered numbers using an array named number
What math functions are available for integers? For floating point?
How does memset() work in C?
Write a program which returns the first non repetitive character in the string?
What is the best way of making my program efficient?
What is typedf?
What is a structure in c language. how to initialise a structure in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none