User Tools

Site Tools


c:datatypes:union

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:datatypes:union [2024/02/16 01:05] (current)
Line 1: Line 1:
 +====== union ======
  
 +
 +create groups of variables which share the same storage space.\\
 +a union is similar to a struct, but it allows you to define variables that share storage space\\
 +
 +<code c>
 +union [union-type-name]
 +  {
 +    type variable-names;
 +    type variable-names;
 +    ...
 +  } [union-variables] ;
 +</code>

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/datatypes/union.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz