Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, March 10, 2015

What is typedef ?

The typedef is a user define data type. It is used to renaming of the data type, data type may be primary, derived or user defined data types.
It allows the programmers to define a new name or identifier of an existing or new data type. The important feature of typedef data type is that we can create meaningful names of the data types for increasing the simplicity and easy readability of the program.
Syntax:
                typedef data_type new_name;
Ex:
     typedef int x;
     x a, b;
Here x is a data type, a and b are variable of x. The x is an integer type data type


No comments:

Post a Comment