Guest User

Untitled

a guest
Mar 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. using T1 = int*[1];
  2. using T2 = int(*)[1];
  3.  
  4. T1 t1;
  5. T2 t2;
  6. t1[0] = 0; // ok
  7. t2[0] = 0; // error : array type 'int [1]' is not assignable
Add Comment
Please, Sign In to add comment