#Recursive program to linear search
1 posts
Recursive program to linearly search an element in a given array using C
Given an unsorted array and an element x, search x in given array. Write recursive C code for this. If element is not present, return -1.
Approach : The idea is to compare x with the last element... Read Mores
Prathmesh Yelne
15-Feb-2022 16:04:30