IHYPRESS.NET > C PROGRAMMING
HOME
|
ASP
|
C
|
HTML/CSS
|
JAVASCRIPT
|
MATLAB
|
PERL
|
PHP
|
PYTHON
|
RUBY
C
> 10. Structures & Linked Lists
<
An example of structures
A program using a structured data types and variables.
Structures and functions
A program that passes structured variables by value to different functions.
A simple linked list
Creates a linked list to hold four tree names and prints out all the trees in the list.
A linked list and a function
The function checks if a tree name exists in the list of trees from the previous example program.
Dynamically-allocated linked list
Instead of the static list containing four trees in the previous examples, this list of trees is expandable at will.
>
COPYRIGHT © 2021 IHYPRESS.NET. A DIVISION OF IHY PRESS, KIRKLAND, WA 98083 USA. ALL RIGHTS RESERVED.
SHARE