+ 2
It should be like this for (int j = 0; j < 6; j++) { for (int k=0; k < 6; k++) { cout<< myName [j] [k]; } } my name[6][6] has nothing stored in it ,you have stored data till my name[2][6]
18th May 2020, 3:01 PM
Abhay
Abhay - avatar