I have the following code:
#include
#include
// helping
void sortint(int numbers[], int array_size)
{
int i, j, temp;
You call eb
from exera
, before eb
is declared. The compiler assumes it'll return int
then finds an implementation that returns void
further down the file.
The most common fix is to declare your local functions at near top of your file
void eb(int* ptr);
// repeat for each other function which generates the same error