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 |
Difference between Class and Struct.
13 Answers Ericsson, Motorola, Wipro,
what is difference between procedural language and functional language ?
Is swift based on c?
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
Which header file is used for clrscr?
Explain what is the difference between functions abs() and fabs()?
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }
fn f(x) { if(x<=0) return; else f(x-1)+x; }
Are enumerations really portable?
Place the #include statement must be written in the program?
Which is better oop or procedural?