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
Answer / vignesh1988i
b id the correct option.......
c=getchar(void)
thank u
| Is This Answer Correct ? | 26 Yes | 0 No |
Answer / moolshankershukla
first define :
char c;
printf("enter character ");
c=getchar();
| Is This Answer Correct ? | 5 Yes | 0 No |
can we print any string without using terminator?
Can we access the array using a pointer in c language?
who is the founder of c
19 Answers College School Exams Tests, HP,
what does data structure mean?
write a program in c language for the multiplication of two matrices using pointers?
What are multidimensional arrays?
What is data types?
What are the application of c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
what is the difference between procedure oriented and object oriented progaming language
What is the use of the function in c?
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?