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



which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / vignesh1988i

b id the correct option.......


c=getchar(void)


thank u

Is This Answer Correct ?    26 Yes 0 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / cynthia,1st b.sc.,itm

option b)c=getchar()

Is This Answer Correct ?    13 Yes 0 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / sagar

b)c=getchar()

Is This Answer Correct ?    7 Yes 0 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / moolshankershukla

first define :
char c;
printf("enter character ");
c=getchar();

Is This Answer Correct ?    5 Yes 0 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / himanshu

b

by himanshu kiims

Is This Answer Correct ?    6 Yes 2 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / shashiprabha singh

c=getchar() is the right ans

Is This Answer Correct ?    4 Yes 0 No

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar..

Answer / jalal

b)c=getc(c)

Is This Answer Correct ?    7 Yes 5 No

Post New Answer

More C Interview Questions

Difference between Class and Struct.

13 Answers   Ericsson, Motorola, Wipro,


what is difference between procedural language and functional language ?

4 Answers   Wipro,


Is swift based on c?

0 Answers  


Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table

3 Answers   Value Labs,


Which header file is used for clrscr?

0 Answers  






Explain what is the difference between functions abs() and fabs()?

0 Answers  


being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?

1 Answers   TCS,


#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }

9 Answers   TCS,


fn f(x) { if(x<=0) return; else f(x-1)+x; }

5 Answers   HCL,


Are enumerations really portable?

0 Answers  


Place the #include statement must be written in the program?

0 Answers  


Which is better oop or procedural?

0 Answers  


Categories