+ 1
In the 2d array initialisation using for loops how value of 'j' goes back to zero?
for(i=0;i<3;i++) { for(j=0;j<3;j++) { a[i][j]=s.nextInt(); } }
1 Resposta
0
for(j = 0;....) : j = 0
for(i=0;i<3;i++) { for(j=0;j<3;j++) { a[i][j]=s.nextInt(); } }