I am trying to understand C, by going through K&R. I have trouble understanding this code for two functions found in the book:
void qsort(int v[], int le
The prototype should be added before the actual function is used for first time.
In this case, I do not think its a general practice to have prototype in qsort() function, however, it still serves the purpose. The prototype for swap() could also be added before main() too, don't think it will make a difference.