• Akshay Kolhapure

    Akshay Kolhapure 08 Oct,2014


    Write a function for Linear Search, which accepts an array of n elements and a key as parameters and returns the position of key in the array and -1 if the key is not found. Accept n numbers from the user, store them in an array. Accept the key to be searched and search it using this function. Display appropriate messages.

    Source Code:

    Warning! To view program you need to login. Click here Login with us..