Select from following answers:- 50 10 50
- 50 10 10
- 10 10 10
- Compilation Error
- All Above
Output will be 50 10 10.
First it will print 50,then check if cnt is equal to 50,then set cnt to 10,then print 10,then after if condition,it will again print 10.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator