Created
July 7, 2015 01:53
-
-
Save Pr3d4dor/553cf97d08610d6d2772 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Sequential search function in c | |
int seqSearch(int *vet,int n,int x){ | |
int i; | |
for (i=0;i<n;i++){ | |
if (x==vet[i]) | |
return 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment