C Programming and Problem Solving
Questions 291 to 300
291.
|
The size of
an int must be greater than or equal to that of a
|
||||||||||
292.
|
What is the
output of the following statements?
int b=5,c=15,d=8,e=8,a;
a=b>c?c>d?12:d>e?13:14:15;
printf(“%d”,a);
|
||||||||||
293.
|
Which of the
following is not a correct
variable type?
|
||||||||||
294.
|
Which of the
following is a complete function?
|
||||||||||
295.
|
What is the
result of the program?
main()
{
int a =
1000, b = 1000;
long int c
= a * b;
printf(“%ld”,
c);
}
|
||||||||||
296.
|
A file opened
in W+ mode can be used in
|
||||||||||
297.
|
Which of the
following function is used to detect the end of the file?
|
||||||||||
298.
|
The structure
combines variables of
|
||||||||||
299.
|
Identify the
most appropriate sentence to describe Unions.
|
||||||||||
300.
|
Each case
statement in switch () is separated by
|
Answers
291.
|
Answer : (b)
Reason: The size of an int must be greater than or equal to that of a
short int.
|
292.
|
Answer : (c)
Reason: 15 is the required output.
|
293.
|
Answer : (b)
Reason: Real is not a correct
variable type.
|
294.
|
Answer : (b)
Reason: int funct(int x) {return
x=x+1;} is a complete function.
|
295.
|
Answer : (d)
Reason: Garbage value is displayed as a result.
|
296.
|
Answer : (b)
Reason: A file opened in W+ mode can be used in Write-read.
|
297.
|
Answer : (a)
Reason: feof() function is used to detect the end of the file.
|
298.
|
Answer : (a)
Reason: The structure combines variables of dissimilar user-defined data
types.
|
299.
|
Answer : (a)
Reason: Unions contain members of different data types which share the
same storage area in memory is the most appropriate sentence to describe
Unions.
|
300.
|
Answer : (a)
Reason: Each case statement in switch () is separated by break.
|
thank you.
ReplyDeletec++ tutorial
java tutorial
thank you.
ReplyDeletec++ tutorial
java tutorial
"Very nice information about the school, I really like your blog. Please keep sharing this types of blogTop IGCSE school in Mumbai | International School Vashi & Navi Mumbai"
ReplyDeleteThanks for sharing this blog. If anyone is thinking that someone can do my harvard referencing style for assignment then, BookMyEssay is a place where we guide students how to complete their assignment effectively and efficiently.
ReplyDeleteThanks for sharing your views, you explained it very nicely. If you want a Manufacturing Consultant Freelance developer then, Paperub is a marketplace where you can hire a skilled professional for your important projects.
ReplyDeleteNo 1 Assignment help website Universal Assignment. Contact Reek for assistance
ReplyDeletethanks for sharing he article to us. very good trick used by yo keep sharing like this blog.keep posting like this blogs.
ReplyDeleteessay outline help
Nice thought! Rising Damp Treatment happens when water from the ground moves upward through the bricks and mortar of a building due to capillary action. Get a 50% discount on a professional survey for damp issues now.
ReplyDeleteAre you searching for Accounting Case Study Assignment Help in USA for better grades? Don’t hesitate contact us now! At Case Study Help we all time offer 100% plagiarism free and error free work at students pocket friendly price. For more information visit us now! https://casestudyhelp.com/usa/
ReplyDeleteNMIMS solved assignment
ReplyDeleteBuy NMIMS solved assignment Sep 2023. Get 100% plagiarism free NMIMS solved assignments sep 2023 with high quality content from us at cheap price
Nmims Solved Assignment
Nice Blog! Explore Test Evolve's Pinterest platform, where we showcase trending automation testing tools. Stay updated with the latest in test automation technology and elevate your testing game.
ReplyDeleteIt is nice question to related c++ programming.
ReplyDeleteNMIMS solved project