Category Archives: C Pointers

C Pointers

Pointers is one of the most powerful features available in C Programming Language. A pointer is a special type of variable that refers to the address of other data objects or variables.

Variable can be of any data type i.e int, float, char, double, short, etc. C Pointer is used for dynamic memory allocation.

Syntax to Declare C Pointer Variable:

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

Example:

Example Program to Demonstrate Pointer

Output: