Using C programing
Complete the missing code (look for underscores) int thefunction definition below that takes and array, a search term, apointer to an integer and an integer for the size of the arrayparameter. The function returns true if the search term is foundand false if it is not. Copy the entire function with your answersin the text box provided. I suggest copy and pasting then replacingthe underscores with your answers.
bool sequentialSearch(char arryIn[], char srchTerm, ____ptr2Idx, int sz)
{
int i = 0;
for(; ____ < sz; i++)
{
if(srchTerm == ______)
{
*ptr2Idx = i;
return ____;
}//end if
}//end loop
return ____;
}//end function
Solution
#include <stdio.h>
#include <stdbool.h>
bool sequentialSearch(char arryIn[],char srchTerm,int
OR
OR