|
Go to the first, previous, next, last section, table of contents.
structure definition
A structure data type is a fixed length array and each component of the array
is accessed by its name. Each type of structure is distinguished by its name.
A structure data type is declared by [1] struct rat {num,denom}; 0 [2] A = newstruct(rat); {0,0} [3] A->num = 1; 1 [4] A->den = 2; 2 [5] A; {1,2} Go to the first, previous, next, last section, table of contents. |