-
A register variable is stored in a machine register, if one
is available - this is only a hint to the compiler that the
variable is heavily used and the procedure may run faster
if the variable is stored in a register
Typedef
*typedefcan be used to declare a name for a type, this
doesn't declare a new type, it just creates a name for an
existing type
-
A typedef declaration has the following format
|
typedef type TypeName ;
|
For example:
|
typedef char* String;
|
We can now use string in place of a type in a variable
declaration:
|
|