/in/foo.c: In function 'main':
/in/foo.c:5:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%ld%ld%ld%ld",&a,&b,&c,&d);
^
/in/foo.c:5:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%ld%ld%ld%ld",&a,&b,&c,&d);
^
/in/foo.c:5:17: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long long int *' [-Wformat=]
scanf("%ld%ld%ld%ld",&a,&b,&c,&d);
^
/in/foo.c:5:20: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long long int *' [-Wformat=]
scanf("%ld%ld%ld%ld",&a,&b,&c,&d);
^
/in/foo.c:8:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld",daan);
^