What is the error in the following code?
for (int c = 0; c < 100; c++)
{
cout << “******” << endl;
}
cout << c << “ lines “;
c cannot be referenced outside the body of the for loop where it is defined.
Computer Science & Information Technology
You might also like to view...
Which centralized authentication method uses UDP?
A. TACACS+ B. RADIUS C. Kerberos D. MD5
Computer Science & Information Technology
A(n) ________ is needed to print the first page of a document in landscape orientation and the rest of the document in portrait orientation
Fill in the blank(s) with correct word
Computer Science & Information Technology
The item marked 5 in the figure above is the ____ button.
A. Project Statistics B. Update as Scheduled C. Reschedule Work D. Split Task
Computer Science & Information Technology
Briefly describe how to create a report title (cover) page using a preformatted template.
What will be an ideal response?
Computer Science & Information Technology