Skip to content

create a linear search function in c #2

@dev-AshishRanjan

Description

@dev-AshishRanjan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions