7.When a C program is executed it may contain __________ which will give you inc
ID: 3665028 • Letter: 7
Question
7.When a C program is executed it may contain __________ which will give you incorrect computed results. A. language errors B. linking errors C. loading errors D. logic errors
8. Programming lines that start with /* and end with */ cannot be placed in the main body of a C program. A. True B. False
11. The following C programming line is called a: int count = 0; A. preprocessor directive with direct assignment B. clarification with direct assignment C. declaration with direct assignment D. none of the above
16. The following arithmetic expression will yield what type of outcome?
4 + 11 * 3 / 2
A. floating-point B. integer C. exponential D. round off
17.
What is the correct C expression to evaluate the following algebraic
expression?
w+ (x/a+b)
A. (w+x)/a/b B. w+x/a/b C. w+x/(a+b) D. (w+x)/(a+b)
Explanation / Answer
7) D. Logic errors.
8) B. False. They are just comments of the code, they can be placed in the main function.
11) C. Declaration with direct assignment.
16) Integer. Value: 15 since in integer arithmetic, 3/2 = 1.
17) C. w + x/(a+b)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.