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.

1
  • Your reading it right all right dont worry you're not nor right about being right about being right about that not. Commented May 14, 2017 at 13:16

1 Answer 1

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.

You must log in to answer this question.

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