Examlex

Solved

Which Line in the Following Program Will Cause a Compiler \quad

question 30

Multiple Choice

Which line in the following program will cause a compiler error?
1 \quad #include <iostream>
2 \quad using namespace std;
3
4 \quad int main()
5 \quad {
6 \quad\quad const int MY_VAL = 77;
7 \quad\quad MY_VAL = 99;
8 \quad\quad cout << MY_VAL << endl;
9 \quad\quad return 0;
10 \quad }


Definitions:

Errors

Mistakes or inaccuracies in a process, document, or action that can lead to misunderstandings or problems if not corrected.

Headnotes

Summaries of legal rulings or points of law at the beginning of court decisions or legal texts.

Unofficial Reporters

Publications that provide court opinions not officially sanctioned by the judiciary but are used as secondary sources of legal precedent.

Rules of Law

Fundamental principles that govern society and are enforced through a set of institutions.

Related Questions