0

Sorry for asking a probably repeated question, but I wanted to commit to a community!

So the search implementation part of pset3 states:

"You may not alter the function’s declaration. Its prototype must remain:

bool search(int value, int values[], int n);"

Am I reading this right? I can't think of a way to count where I am without adding to the function.

  • Your reading it right all right dont worry you're not nor right about being right about being right about that not. – Karthik Krishnan May 14 '17 at 13:16
0

You may add your own code inside the body of the function but you hav to use the same parameter list, function name and the return type (here, boolean) given in the declaration. Other than that you can use your own code to implement the search.

| improve this answer | |

You must log in to answer this question.

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