fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int y[2][1];
  7. y[0][0] = 5;
  8. y[1][0] = -5;
  9. cout << y[0][0];
  10. cout << endl << y[1][0];
  11. return 0;
  12. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
5
-5