We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fae8c1 commit 84bb4ecCopy full SHA for 84bb4ec
Array/07 Linear search.c
@@ -24,7 +24,7 @@ int LinearSearch (struct Array arr, int key)
24
}
25
int main ()
26
{
27
- struct Array arr1= {{2,3,4,2,3,4,5,88,9 },20,5 };
+ struct Array arr1= {{2,3,4,2,3,4,5,88,9 },9,20 };
28
printf("The element is at %dth index",LinearSearch(arr1,88));
29
Display(arr1);
30
return 0;
0 commit comments