From 13afc89b50a7213e67d81e563d096132dd63511b Mon Sep 17 00:00:00 2001 From: sayoojkz <35601680+sayoojkz@users.noreply.github.com> Date: Tue, 30 Oct 2018 23:21:09 +0530 Subject: [PATCH] Update LinearSearch.c --- searching/LinearSearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searching/LinearSearch.c b/searching/LinearSearch.c index 23da2c8f..6a3eabbd 100644 --- a/searching/LinearSearch.c +++ b/searching/LinearSearch.c @@ -16,7 +16,7 @@ void main(){ int a[s]; printf("Enter the contents for an array of size %d:\n", s); - for (i = 0; i < s; i++) scanf("%d", &a[i]); + for (i = 0; i < s; i++) scanf("%d", &a[i]);// accepts the values of array elements until the loop terminates// printf("Enter the value to be searched:\n"); scanf("%d", &v);