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 |
how to find sum of 5 digits in C?
Why clrscr is used in c?
What is volatile c?
why programming language C is still used in operating system's kernel??
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
Tell us something about keyword 'auto'.
Program to find the sum of digits of a given number until the sum becomes a single digit
Explain what is a pragma?
What is realloc in c?
Why dont c comments nest?
differentiate built-in functions and user – defined functions.
write a program to display & create a rational number