Question: [Q11 Circle the right answer (Choose ONE answer Only) [10 points] 1. How many times will the following code display I love pro- gramming! for

 [Q11 Circle the right answer (Choose ONE answer Only) [10 points]
1. How many times will the following code display "I love pro-
gramming!" for (int i 0; i 4; i++) for (int j- 1;

[Q11 Circle the right answer (Choose ONE answer Only) [10 points] 1. How many times will the following code display "I love pro- gramming!" for (int i 0; i 4; i++) for (int j- 1; j 25; j++) cout "I love programming!" endl; e 125 a 29 C. 96 d. 100 b 30 2. What is the output of the following code segment? n 1; while (n 5) cout n n++ a. 3 4 5 6 forever (infinite loop) C. 1 2 3 4 5 6 2 3 4 5 e. None of the above 3. The variable is a type of local variable that per- sists (stays the same) between function calls. a. global b. dynamic c. local d. counter e. static

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!