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 |
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
What is calloc malloc realloc in c?
What is #define size in c?
What is #line in c?
Explain how can I write functions that take a variable number of arguments?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is integer constants?
What is a loop?
plz answer.. a program that takes a string e.g. "345" and returns integer 345
How many parameters should a function have?
can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?