Compiling with a higher warning level would point out some errors at compile time. (On gcc, try gcc -W -Wall )
You need function declarations above main, like this:
int is_ordered(int arr[],...
Type: Posts; User: oogabooga
Compiling with a higher warning level would point out some errors at compile time. (On gcc, try gcc -W -Wall )
You need function declarations above main, like this:
int is_ordered(int arr[],...