0_0_16697782_1715.cpp:4:11: error: 'a' was not declared in this scope
int sort (a,a+l);
^
0_0_16697782_1715.cpp:4:13: error: 'a' was not declared in this scope
int sort (a,a+l);
^
0_0_16697782_1715.cpp:4:15: error: 'l' was not declared in this scope
int sort (a,a+l);
^
0_0_16697782_1715.cpp:4:16: error: expression list treated as compound expression in initializer [-fpermissive]
int sort (a,a+l);
^
0_0_16697782_1715.cpp: In function 'int main()':
0_0_16697782_1715.cpp:13:9: error: 'l' was not declared in this scope
l=strlen(a);
^
0_0_16697782_1715.cpp:13:19: error: cannot convert 'int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
l=strlen(a);
^
0_0_16697782_1715.cpp:14:19: error: 'sort' cannot be used as a function
sort(a,a+l);
^
|