returns the index where the current element of array y is equal to x, else returns -1 if the value of x is not in the array
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 14
what will print
Nothing. There are no output statements.
Assuming that's not the correct answer, sit down with pen and paper and figure it out.
Write down the variables and their contents
Write down the pointers and where they point
Now follow the code statement by statement
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37