Difference between revisions of "Typedef"
(Created page with "'''<code>typedef</code>''' can be used to rename a data type. <source lang="cpp"> typedef unsigned long int myint; // The following two variable declarations are equivalent...") |
(No difference)
|
Revision as of 13:23, 27 January 2018
typedef
can be used to rename a data type.
typedef unsigned long int myint;
// The following two variable declarations are equivalent given the above typedef
unsigned long int x;
myint x;
typedef
statements can be made global.