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 / cynthia,1st b.sc.,itm

option b)c=getchar()

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us two differences between new () and malloc ()?

608


What is static and auto variables in c?

557


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1513


What is selection sort in c?

601


What is C language ?

1522






what is the difference between class and unio?

1854


Difference between constant pointer and pointer to a constant.

607


Explain how can I prevent another program from modifying part of a file that I am modifying?

632


What is assignment operator?

620


What is a pragma?

662


In a switch statement, what will happen if a break statement is omitted?

596


explain what is an endless loop?

607


How many types of operator or there in c?

595


Can you please explain the difference between syntax vs logical error?

686


what is the format specifier for printing a pointer value?

609