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

Answer Posted / jalal

b)c=getc(c)

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we make a global variable accessible across files? Explain the extern keyword?

1416


Explain what is the difference between far and near ?

649


What is the best way of making my program efficient?

562


What is the argument of a function in c?

569


What is the difference between a function and a method in c?

558






Is main a keyword in c?

628


Explain the red-black trees?

602


When was c language developed?

697


If you know then define #pragma?

673


What is the difference between functions abs() and fabs()?

644


how we can make 3d venturing graphics on outer interface

3998


Is using exit() the same as using return?

671


In c programming language, how many parameters can be passed to a function ?

626


why we wont use '&' sing in aceesing the string using scanf

1777


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1953