stdlib.h: Algorithms (qsort, bsearch, rand)

Introduction

Introduction

qsort()

sort in standard library (qsort)

RAND

void srand(unsigned int seed);
int rand(void); (returns between 0 and RAND_MAX)

bsearch

void *bsearch()