/in/foo.c: In function 'bubbleSort':
/in/foo.c:6:90: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | for(j=0;j,len-1-i;j++)
| ^
/in/foo.c:9:97: error: 'tempt' undeclared (first use in this function); did you mean 'temp'?
9 | tempt=str[j];
| ^~~~~
| temp
/in/foo.c:9:97: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:5: warning: 'main' is normally a non-static function [-Wmain]
12 | int main(){
| ^~~~
/in/foo.c: In function 'main':
/in/foo.c:18:18: error: expected ')' before 'str'
18 | printf("%s\n"str);
| ~ ^~~
| )
/in/foo.c:18:14: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
18 | printf("%s\n"str);
| ~^
| |
| char *
/in/foo.c:19:17: error: expected ';' before '}' token
19 | return 0
| ^
| ;
20 | }
| ~
/in/foo.c: In function 'bubbleSort':
/in/foo.c:20:1: error: expected declaration or statement at end of input
20 | }
| ^
/in/foo.c:20:1: error: expected declaration or statement at end of input
/in/foo.c:20:1: error: expected declaration or statement at end of input
/in/foo.c:20:1: error: expected declaration or statement at end of input
/in/foo.c:4:78: warning: unused variable 'temp' [-Wunused-variable]
4 | char temp;
| ^~~~
/in/foo.c: At top level:
/in/foo.c:12:5: warning: 'main' defined but not used [-Wunused-function]
12 | int main(){
| ^~~~