fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int const COLUMN_NUMBER = 10;
  5. union {
  6. int first[1][COLUMN_NUMBER];
  7. int second[COLUMN_NUMBER];
  8. } u;
  9. u.first[0][5] = 3;
  10. printf("%d\n", u.second[5]);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
3