C-05-Q171mediumsingle_mcq
For the loop for(a=1; a<=5; a=a+1) S=S+a; with S=0, what will be the output?
For the loop for(a=1; a<=5; a=a+1) S=S+a; with S=0, what will be the output?
- a0
- b1
- c5
- d15
For the loop for(a=1; a<=5; a=a+1) S=S+a; with S=0, what will be the output?