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 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:

 

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