C Pointers

In this tutorial you will learn about the C Pointers and its application with practical example.

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:

 

In this tutorial we have learn about the C Pointers and its application with practical example. I hope you will like this tutorial.