1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <stdio.h> struct date { int year; char month; char day; }; int main() { struct date birth = {1984,7,28}; printf("%d, %d, %d\n",birth.year, birth.month, birth.day); // return 1820,28,28 return 0; }
1
1984, 7, 28