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;
7 MY_VAL = 77;
8 cout << MY_VAL << endl;
9 return 0;
10 }
A) 6
B) 8
C) 9
D) 7
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: What is the value of average after
Q7: In any program that uses the cin
Q8: This manipulator is used to establish a
Q10: The function, pow(x, 5.0), requires this header
Q11: You want the user to enter the
Q14: The statement: <br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg" alt="The statement:
Q23: The fixed manipulator causes a number to
Q38: This stream manipulator forces cout to print
Q40: You can use these to override the
Q43: When using the sqrt function you must