0

I'm a beginner and I've been working on the code for selection sort. The code seems right: enter image description here

But whenever I try to compile helpers.c I keep getting this error and I can't move forward:

enter image description here

Could anyone please explain what this error message means and how I can fix it (it seems to me that it has something to do with the braces, but I'm certain that I don't have any unnecessary braces). I would really appreciate it.

0
           void sort(int values[], int n);

See the signature line above? Get rid of the semicolon.

That doesn't mean that you don't have other issues, but that's what's causing this one.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

| improve this answer | |
  • Thanks for the help, deleting the semicolon did the trick. – clouding_980 Dec 11 '16 at 5:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .