foo.c: In function ‘main’:
foo.c:6:25: error: expected ‘)’ before ‘,’
6 | scanf("%d %d %d",&a,&b,&c);
| ~ ^~
| )
foo.c:6:17: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
6 | scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int *
foo.c:6:20: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
6 | scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int *
foo.c:6:23: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
6 | scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int *
foo.c:22:24: error: expected ‘)’ before ‘,’
22 | printf("%d %d %d\n",&a,&b,&c);
| ~ ^~
| )
foo.c:22:14: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
22 | printf("%d %d %d\n",&a,&b,&c);
| ~^
| |
| int
foo.c:22:17: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
22 | printf("%d %d %d\n",&a,&b,&c);
| ~^
| |
| int
foo.c:22:20: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
22 | printf("%d %d %d\n",&a,&b,&c);
| ~^
| |
| int