Question: Please complete the following questions without using a computer. You may use a computer to verify your answer. However, you must not use a computer
Please complete the following questions without using a computer. You may use a computer to verify your answer. However, you must not use a computer in your first attempt Which of the following variable declaration is legal? A. float length; B. INT al0; C. char neme: D. bool Oorl; 1. 2. What is the value of this expression: 10 16 / 10 A. 2.6 3. What is the value of this expression: 3 (56) 21 C. 36 D. 23 4, what is the value of this expression: 5 % 3 + 6 % 3 A. 1 B. 2 C. 3 D. 4 5. What is the value of this expression: (3.0+4) / 10 A. 0 B 0.7 C. 3.4 D. 3.0 6. What is the value of this expression:2.5+2.5 5 A. 1 B.0.5 C3.0 D. 2.5 In the following 2 questions, assume we have the code segment below: int numberl 5: double number2 = 1.9; 12. What is the output of the following statement: cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
