/* Linear Search - Program to demonstrate sequential search or linear search */ #include #include int sequential(int x[ ], int n, int key) ; void main() { int i, n, x[20], key ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d", &n) ; printf("Enter the elements:\n") ; for(i=0 ; i