Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎Array/07 Linear search.c

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /