Create a sequential search ADT. The array to be searched is to be maintained by the application program in its own area. The target may be any type and may be included in a structure. The prototype for the ADT interface is:
where ary contains the data to be searched, sizeofElem is the size of one element in the array, numElem is the number of elements in the array, and compare is the application function to compare two array elements. The compare function returns –1 if arg1 <> arg2.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here