This section describes the declaration and initialization of variables. The CLight language includes basic data types.
The declaration of a simple variable specifies the variable's name and type.
Syntax
declaration:
type-specifieridentifier;
Type Specifiers
Type specifiers in declarations define the type of a variable or function declaration.
Syntax
type-specifier: voidintlongfloat
The keyword void has two uses: to specify a function return type and to specify an argument-type list for a function that takes no arguments. You can use the void type to declare functions that return no value.