Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a linear search function in c #2

Open
dev-AshishRanjan opened this issue Mar 31, 2023 · 0 comments · Fixed by #6 · May be fixed by #7, #14 or #15
Open

create a linear search function in c #2

dev-AshishRanjan opened this issue Mar 31, 2023 · 0 comments · Fixed by #6 · May be fixed by #7, #14 or #15
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dev-AshishRanjan
Copy link
Owner

write code for linear search in c.
The code goes in linearSearch function
The function returns :

  • the index of the number if found
  • -1 if not found.
    The function takes a number as argument
@dev-AshishRanjan dev-AshishRanjan added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 31, 2023
@sohailkazi sohailkazi linked a pull request Apr 1, 2023 that will close this issue
@Xtronic90 Xtronic90 linked a pull request Apr 1, 2023 that will close this issue
@Pulkitcodes22 Pulkitcodes22 linked a pull request Apr 1, 2023 that will close this issue
@JDeepD JDeepD linked a pull request Apr 1, 2023 that will close this issue
@JDeepD JDeepD closed this as completed in #6 Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment