C Pointers

Pointers is one of the most powerful feature available in C Programming Language . Pointer is a special type of variable that refers to the address of other data object or variable.Variable can be of any data type i.e int, float, char, double, short etc.Pointer is used for dynamic memory allocation.

Syntax to declare pointer variable:

data_type specifies the type of pointer, then asterisk (*) followed by the pointer name.

Example:

Example Program to demonstrate pointer

Output: