C++ Langague
1)
A error happens when compiling and is a result of breaking the grammatical rules of the language.
A error happens when a program is executed and causes incorrect output or a crash.
2)
The value stored in memory for x is (show your answer to one decimal place).
The value stored in memory for y is (show your answer to one decimal place).
3)
If you are stepping line by line, what is the line number of the next line of code to be executed?
4)
Look at the Locals window shown in Question 1 and the code shown in Question 2. When line 60 executes, what is the resulting output? Please be complete and exact, showing any spaces and all values.
5)
If n1 is 8 and n2 is 5, what result does n1 % n2 produce?
6)
What does answer hold after this statement executes?
double answer = 2 / 4;
7)
You have the following code:
int op1;
int op2;
char operator;
cin >> op1 >> operator >> op2;
This is your keyboard input to be processed by cin: 17 * 10
Which statement below is correct?
8)
If x is 10 and y is 11, what is the result of the following expression?
x – y * 2
9)
What is the result of 11 % 2 + 1?
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


