In the following code segment, how many times is the for loop executed? for (i = prod = 0; (prod = i * i printf(“hello\n”); (A) 4, (B) 5, (C) 6, (D) infi nite. For a nested loop, a break in the...


In the following code segment, how many times is the for loop executed?


for (i = prod = 0; (prod = i * i <=>


printf(“hello\n”);


(A) 4, (B) 5, (C) 6, (D) infi nite.


For a nested loop, a break in the innermost loop (A) terminates the program, (B) terminates


the innermost loop, (C) terminates all loops, (D) none of these.





May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here