Multiple Choice
Which line in the following program will cause a compiler error?
1 #include <iostream>
2 using namespace std;
3
4 int main()
5 {
6 const int MY_VAL = 77;
7 MY_VAL = 99;
8 cout << MY_VAL << endl;
9 return 0;
10 }
A) line 6
B) line 7
C) line 8
D) line 9
E) there will be no compiler error
Correct Answer:

Verified
Correct Answer:
Verified
Q34: The cin << statement will stop reading
Q35: How many characters will the following statement
Q36: In the following statement, what will be
Q37: The following statement will output $5.00 to
Q38: To use the rand()function, you must include
Q40: The _ operator always follows the cin
Q41: This manipulator causes the field to be
Q42: The function pow(x, y), requires which header
Q43: You can control the number of significant
Q44: What is the value of result after