+ 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(); } }

11th Oct 2017, 5:45 PM
Gopal Krishna Mishra
Gopal Krishna Mishra - avatar
1 Antwort
0
for(j = 0;....) : j = 0
11th Oct 2017, 8:51 PM
Médi Olivier
Médi Olivier - avatar