Skip to content
Snippets Groups Projects
Select Git revision
  • a04f6dcd0eaf248c9ae92a67453cdec2f6cc749c
  • master default
2 results

hanoi-2.c

Blame
  • Forked from Peter Gerwinski / ainf
    Source project has a limited visibility.
    unions-2.c 181 B
    #include <stdio.h>
    
    int main (void)
    {
      union
      {
        int a;
        char c;
      }
      foo;
      printf ("%d\n", foo.c);
      foo.a = 16777216 + 512 + 42;
      printf ("%d\n", foo.c);
      return 0;
    }