Given the code fragment: (Exhibit) How many times is 2 printed?
Given the code fragment:How many times is 2 printed? A. Zero B. Once C. Twice D. Thrice E. It is not printed because compilation fails Correct Answer: B The outer loop will run three times, one time each for the elements in table. The break statement breaks the inner loop immediately each time. 2 will be printed once… Read More »