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 / shashiprabha singh

c=getchar() is the right ans

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sizeof return c?

598


What is substring in c?

636


When was c language developed?

697


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3180


What are the 5 elements of structure?

560






What is integer constants?

615


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2407


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

629


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1855


Define C in your own Language.

635


Is c a great language, or what?

600


Explain how do you list a file’s date and time?

615


What does *p++ do?

581


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1849


What is the heap?

683