Skip to content

Commit 84bb4ec

Browse files
authored
Update 07 Linear search.c
1 parent 3fae8c1 commit 84bb4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Array/07 Linear search.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int LinearSearch (struct Array arr, int key)
2424
}
2525
int main ()
2626
{
27-
struct Array arr1= {{2,3,4,2,3,4,5,88,9 },20,5 };
27+
struct Array arr1= {{2,3,4,2,3,4,5,88,9 },9,20 };
2828
printf("The element is at %dth index",LinearSearch(arr1,88));
2929
Display(arr1);
3030
return 0;

0 commit comments

Comments
 (0)