1.) in for loop it work fine if i change cout from a[i][j] to a[j][i] but show wrong output at a[i][j] why?? I just figured out correct ans by making random changes in for loop
2.) and also check for while loop.
question :- https://online.codingblocks.com/app/player/189104/content/180062/6885/lecture