We can define new data-type names using the keyword "typedef".
You are not actually creating a new data-type,rather defining a new name for an existing type.This process can help make machine dependent programs more portable.
You are not actually creating a new data-type,rather defining a new name for an existing type.This process can help make machine dependent programs more portable.
"typedef "type" Newname;
Ex: typedef float balance;
This statement tells the compiler to recognize the balance as another name for float.Next you could create a float variable using balance.
Ex: balance over_due;
Here over_due is floating point variable of the type balance,which is another word for float.