Question: C++ Qs 1. A loop that continues to execute endlessly is called a(n) loop. a. definite b. end c. infinite d. repeating -controlled while loop
C++ Qs


1. A loop that continues to execute endlessly is called a(n) loop. a. definite b. end c. infinite d. repeating -controlled while loop uses a bool variable to control the loop. A(n) a. counter b. EOF 2. c. flag d. sentinel 3. Consider the following code: int ch; cin >> ch; while (ch ! -1) cout > ch; This code is an example of a(n) -controlled while loop a. counter b. EOF c. flag d. sentinel 4. What is the first statement to be executed in the following for loop? int i for (i 1; i using namespace std; 1 2 3 4 int main () int x, y, num 6 7 8 9 do 101{ cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
