/in/foo.c: In function 'main':
/in/foo.c:14:13: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
     scanf("%d %d",year, month);
             ^
/in/foo.c:14:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
     scanf("%d %d",year, month);
                ^
/in/foo.c:14:5: warning: 'year' is used uninitialized in this function [-Wuninitialized]
     scanf("%d %d",year, month);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:14:5: warning: 'month' is used uninitialized in this function [-Wuninitialized]