Home Segments Index Top Previous Next

261: Mainline

Once the trade structure is defined, you can introduce a variable with trade as the variable's data type:

struct trade t; 

The syntax is similar to the syntax that you use when you define a variable with int or double as that variable's data type, except that both the symbol struct and the name of the structure appear as the type specification.