Guest User

Untitled

a guest
Aug 16th, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int m=2;
  8.     int a[m][2];
  9.     for (int i=0; i<4; ++i)
  10.         a[i/2][i%2]=i;
  11.     //{0, 1, 2, 3}
  12.     m=1;
  13.     cout <<a[1][1] <<endl;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment