Table of Contents
Previous Section Next Section

typedef

The typedef keyword allows you to create a new name for an existing data type. The general form of typedef is

typedef type_specifier new_name;

For example, to use the word balance in place of float, you would write

typedef float balance;

Table of Contents
Previous Section Next Section