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 could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Determine if a number is a power of 2 at O(1).
why wipro wase
How will you find a duplicate number in a array without negating the nos ?
What does typeof return in c?
What is indirection in c?
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=?
Explain the difference between malloc() and calloc() in c?
Explain what does the format %10.2 mean when included in a printf statement?
int x=sizeof(!5.856); What will value of variable x?
What are dynamically linked and statically linked libraries?
What is structure in c explain with example?