I have thiscode:
/**
* helpers.c
*
* Computer Science 50
* Problem Set 3
*
* Helper functions for Problem Set 3.
*/
#include <cs50.h>
#include "helpers.h"
/**
* Returns true if value is in array of n values, else false.
*/
bool search(int value, int values[], int n)
{
if(n<=0){
return false;
}
for (int i=0; i<n; i++){ //n is size of array
if(value == values[i]){
return true;
}
}
return false;
}
/**
* Sorts array of n values.
*/
void sort(int values[], int n)
{
// TODO: implement an O(n^2) sorting algorithm
return;
}
it compiles but for some reason it outputs all this stuff at the end
https://i.sstatic.net/xG3p9.png
What does this refer to?