359 views
1 votes
1 votes

i have 1 doubt regarding the initialization of highlighted portion.Will the value of ’k’ change at each iteration or it will remain same (whatever value assigned to it during for loop initialization) ?

Please log in or register to answer this question.

Related questions

4 votes
4 votes
1 answer
1
Abhi Girin asked Oct 16, 2017
1,076 views
for(i=0;i<=n;i++){ for(j=0;j<=i2;j++){ for(k=0;k<=$\frac{n}{2}$;k++){ x=y+z;}}}How many times the x=y+z statement will execute?