insertCode:char matrix[10][10] = { 'H', 'e', 'l', 'l' , 'o', 'I'}
So my expected output is HleolI.
insertCode:char matrix[10][10] = { 'H', 'e', 'l', 'l' , 'o', 'I'}
So my expected output is HleolI.
Where you would use
for ( row
for ( col
to print "HelloI"
You would use
for ( col
for ( row
to print "HleolI"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.