C-05-Q147mediumsingle_mcq
For the loop s = 0; for(a = ...; a <= 5; ...) s = s + a;, which change will give the output 6?
For the loop s = 0; for(a = ...; a <= 5; ...) s = s + a;, which change will give the output 6?
- aa = 1, a = a + 2
- ba = 2, a = a + 2
- ca = 2, a = a + 1
- da = 0, a = a + 1