+ 1

Please help!!!

this code in c++ doesn't work why?can you find my mistake? int main() { int i=0,a[3][3]={{1,2,3},{4,5,6},{7,8,9}}; while(i<6){ cout<<&a[i++]<<endl; } return 0; }

25th Jul 2018, 10:39 PM
Firebase
2 Respostas
+ 3
I can't begin to guess what output you where expecting. Can you post what you thought would get printed?
25th Jul 2018, 10:45 PM
John Wells
John Wells - avatar
+ 2
Insert your code please to solve a problem.
25th Jul 2018, 10:43 PM
program
program - avatar