[ create a new paste ] login | about

Link: http://codepad.org/EGpUWLeN    [ raw code | output | fork ]

slevy1ster - C, pasted on Jun 6:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

union date {
 int year;
 
 };

int main() {
 union date birth;
 birth.year = 1984;
 
 printf("%d",birth.year);
 // return 1820
 return 0;
}


Output:
1
1984


Create a new paste based on this one


Comments: