diff --git a/guide/english/c/structured-data-types/index.md b/guide/english/c/structured-data-types/index.md index ab36c229ea..eda0a4c058 100644 --- a/guide/english/c/structured-data-types/index.md +++ b/guide/english/c/structured-data-types/index.md @@ -53,7 +53,8 @@ point img_dim = { .y = 480, .x = 640 }; ``` ## Unions vs Structures -Unions are declared in the same way as structs, but are different because only one item within the union can be used at any time. + +Unions are declared in the same was as structs, but are different because only one item within the union can be used at any time. ```C typedef union{ @@ -83,6 +84,7 @@ typedef union{ ``` ## A few more tricks + * When you create a pointer to a structure using the `&` operator you can use the special `->` infix operator to deference it. This is used for example when working with linked lists in C * The new defined type can be used just as other basic types for almost everything. Try for example to create an array of type `student` and see how it works. * Structs can be copied or assigned but you can not compare them!