Problem Statement - Linear search function for search term presence and location
Write a function linsearch(int ,int, int) which searches for the term 23 in the given integer array [12,19,23,3,2] and returns its position in the array. This array should be initialised in the calling function and then passed as reference to the given function. Show implementation also.
sunmitra| Created: 4-Dec-2017 | Updated: 1-Jan-2018|