Update
This commit is contained in:
parent
681319f2f2
commit
f5c9f4da18
39 changed files with 1862 additions and 1803 deletions
|
@ -859,7 +859,7 @@ Until now we've encountered simple data types such as `int`, `char` or `float`.
|
|||
|
||||
Above these there exist **[compound data types](compound_type.md)** (also *complex* or *structured*) which are composed of multiple primitive types. They are necessary for any advanced program.
|
||||
|
||||
The first compound type is a structure, or **[struct](struct.md)**. It is a collection of several values of potentially different data types (primitive or compound). The following code shows how a struc can be created and used.
|
||||
The first compound type is a structure, or **[struct](struct.md)**. It is a collection of several values of potentially different data types (primitive or compound). The following code shows how a struct can be created and used.
|
||||
|
||||
```
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue