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

What is the significance of c program algorithms?

0 Answers  


What is the meaning of && in c?

0 Answers  


Can you explain the four storage classes in C?

0 Answers   TCS,


Magic square

0 Answers  


What is spaghetti programming?

0 Answers  






what is the difference between #include<stdio.h> and #include "stdio.h" ?

3 Answers  


What is function what are the types of function?

0 Answers  


Discuss the function of conditional operator, size of operator and comma operator with examples.

0 Answers   TCS,


Write a program for print infinite numbers

3 Answers   Wipro,


You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 Answers  


what is the difference between getch() and getchar()?

10 Answers   Huawei, Infosys,


What is #include called?

0 Answers  


Categories