Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

Algorithms

NotebookLM
Defined in header <stdlib.h>
sorts a range of elements with unspecified type
(function)
searches an array for an element of unspecified type
(function)

References

  • C11 standard (ISO/IEC 9899:2011):
  • 7.22.5 Searching and sorting utilities (p: 354-356)
  • K.3.6.3 Searching and sorting utilities (p: 607-609)
  • C99 standard (ISO/IEC 9899:1999):
  • 7.20.5 Searching and sorting utilities (p: 318-319)
  • C89/C90 standard (ISO/IEC 9899:1990):
  • 4.10.5 Searching and sorting utilities

See also

C++ documentation for Algorithms library

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.