foo.c: In function ‘main’:
foo.c:6:27: warning: unknown escape sequence: '\040'
6 | scanf("%d\ %d\ %d",&a,&b,&c);
| ^
foo.c:6:27: warning: unknown escape sequence: '\040'
foo.c:8:40: warning: unknown escape sequence: '\040'
8 | if(b>c) printf("%d\ %d",&b,&a);
| ^
foo.c:8:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
8 | if(b>c) printf("%d\ %d",&b,&a);
| ~^ ~~
| | |
| int int *
| %ls
foo.c:8:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
8 | if(b>c) printf("%d\ %d",&b,&a);
| ~^ ~~
| | |
| int int *
| %ls
foo.c:9:53: warning: unknown escape sequence: '\040'
9 | else if(c>a) printf("%d\ %d",&a,&c);
| ^
foo.c:9:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
9 | else if(c>a) printf("%d\ %d",&a,&c);
| ~^ ~~
| | |
| int int *
| %ls
foo.c:9:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
9 | else if(c>a) printf("%d\ %d",&a,&c);
| ~^ ~~
| | |
| int int *
| %ls
foo.c:10:53: warning: unknown escape sequence: '\040'
10 | else printf("%d\ %d",&c,&a);}
| ^
foo.c:10:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
10 | else printf("%d\ %d",&c,&a);}
| ~^ ~~
| | |
| int int *
| %ls
foo.c:10:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
10 | else printf("%d\ %d",&c,&a);}
| ~^ ~~
| | |
| int int *
| %ls
foo.c:12:40: warning: unknown escape sequence: '\040'
12 | if(a>c) printf("%d\ %d",a,b);
| ^
foo.c:13:53: warning: unknown escape sequence: '\040'
13 | else if(c>b) printf("%d\ %d",b,c);
| ^
foo.c:14:53: warning: unknown escape sequence: '\040'
14 | else printf("%d\ %d",c,b);}
| ^