Which line in the following program will cause a compiler error?

```
1 #include
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


b. line 7

Computer Science & Information Technology

You might also like to view...

If your computer is connected to a projector, and you start a slide show in Slide Show view, ____________________ view starts on the computer and Slide Show view appears on the projection screen.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

An employee wants to work more efficiently from home. The IT manager suggests the employee consider purchasing a device that will allow use of monitor and input devices with the work laptop. Which of the following devices is MOST suitable for this purpose?

A. Docking station B. Set-top box C. KVM switch D. USB hub

Computer Science & Information Technology

There are several ways you can start an Office program, including the icon on the Dock.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

One aspect of ____ programming is to check for improper data before an attempt is made to process it further.

A. defensive B. extreme C. robust D. user-friendly

Computer Science & Information Technology