/in/foo.c: In function 'main':
/in/foo.c:27:25: error: redefinition of 'a'
27 | int a=n%10;
| ^
/in/foo.c:5:11: note: previous definition of 'a' with type 'int'
5 | int n,a=0,b=0,c=0,d=0,e=0;
| ^
/in/foo.c:28:29: error: redefinition of 'b'
28 | int b=(n/10)%10;
| ^
/in/foo.c:5:15: note: previous definition of 'b' with type 'int'
5 | int n,a=0,b=0,c=0,d=0,e=0;
| ^
/in/foo.c:29:29: error: redefinition of 'c'
29 | int c=(n/100)%10;
| ^
/in/foo.c:5:19: note: previous definition of 'c' with type 'int'
5 | int n,a=0,b=0,c=0,d=0,e=0;
| ^
/in/foo.c:30:29: error: redefinition of 'd'
30 | int d=(n/1000)%10;
| ^
/in/foo.c:5:23: note: previous definition of 'd' with type 'int'
5 | int n,a=0,b=0,c=0,d=0,e=0;
| ^
/in/foo.c:31:29: error: redefinition of 'e'
31 | int e=(n/10000)%10;
| ^
/in/foo.c:5:27: note: previous definition of 'e' with type 'int'
5 | int n,a=0,b=0,c=0,d=0,e=0;
| ^
/in/foo.c:34:57: warning: format '%d' expects a matching 'int' argument [-Wformat=]
34 | printf("%d %d %d %d %d %d\n",e,d,c,b,a);
| ~^
| |
| int
/in/foo.c:35:57: warning: format '%d' expects a matching 'int' argument [-Wformat=]
35 | printf("%d %d %d %d %d %d\n",a,b,c,d,e);
| ~^
| |
| int