fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int tab[2][3]={{8,-2,5},{0,3,-1}};
  6.  
  7. //cout << tab[0][0]<<endl;
  8. //cout << tab[1][1] << endl;
  9.  
  10. for (int i=0;i<=1;i++)
  11. {
  12. for (int j=0;j<=2;j++)
  13. {
  14. cout << tab[i][j] << " ";
  15. }
  16. cout << endl;
  17. }
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
8 -2 5 
0 3 -1