1.

Analyze the given program segment and answer the following questions: (i) Write the output of the program segment. (ii) How many times does the body of the loop gets executed ?

Answer»

(i) Output: 5 10 

(ii) 3 times



Discussion

No Comment Found

Related InterviewSolutions