Skip to content

Instantly share code, notes, and snippets.

@ahmedshahriar
Created September 30, 2019 07:43
Embed
What would you like to do?
int searchItem(int sist[],int item,int sizeList){
int position=0;
while(position<(sizeList-1)){
if(sist[position]==item){
break;
}else{
position++;}
}
return position;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment