Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/praabindhp/linear_search
C Program For Linear Search
https://github.com/praabindhp/linear_search
c-programming-language code linear-search-algorithm
Last synced: 17 days ago
JSON representation
C Program For Linear Search
- Host: GitHub
- URL: https://github.com/praabindhp/linear_search
- Owner: praabindhp
- Created: 2021-02-25T12:08:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-25T12:25:43.000Z (almost 4 years ago)
- Last Synced: 2024-12-13T00:07:08.391Z (17 days ago)
- Topics: c-programming-language, code, linear-search-algorithm
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linear_Search
C Program For Linear SearchC is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. By design, C provides constructs that map efficiently to typical machine instructions.
This Is A C-Program To Illustrate The Linear Serch Operation
Linear search in C to find whether a number is present in an array. If it's present, then at what location it occurs. It is also known as a sequential search. It is straightforward and works as follows: we compare each element with the element to search until we find it or the list ends.
The Operations/Error Illustrated :
1. Element Search
2. Searching The Location (Index)
The User Will Be Prompted To :
1. Enter No. Of Elements
2. Enter Elements
3. Enter Number To Search
The GCC File Also Have Been Pushed.