Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUMHow many times PARA-X is executed ? (a) 10 (b) 9 (c) 11 (d) Infinite loop

This question is related to TCS Interview

Showing Answers 1 - 1 of 1 Answers

ganpat salunke

  • Nov 29th, 2006
 

Ans is d. para will excute infinite types as w-num will become zero when

add 1 to w-num execute at w-num = 9.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions