The document contains C code snippets that implement various searching and data structure algorithms, including:
1) Linear search through an array of names to find "EMMA"
2) Linear search through an array of numbers to find 50
3) A phone book implemented as arrays without and with structs to lookup a name
4) Drawing a pyramid recursively instead of iteratively
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views
SRC 3
The document contains C code snippets that implement various searching and data structure algorithms, including:
1) Linear search through an array of names to find "EMMA"
2) Linear search through an array of numbers to find 50
3) A phone book implemented as arrays without and with structs to lookup a name
4) Drawing a pyramid recursively instead of iteratively