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.
Solution
sunmitra| Created: 4-Dec-2017 | Updated: 13-Dec-2018|