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 / moolshankershukla
first define :
char c;
printf("enter character ");
c=getchar();
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is wrong in this statement? scanf(“%d”,whatnumber);
What is the general form of a C program?
What is the description for syntax errors?
How do you list a file’s date and time?
How can I avoid the abort, retry, fail messages?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
Is it possible to pass an entire structure to functions?
Combinations of fibanocci prime series
What would be an example of a structure analogous to structure c?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Do you know what are the properties of union in c?
What is the meaning of c in c language?
Can the curly brackets { } be used to enclose a single line of code?