Write a C Program to dereference pointer variables

By | March 19, 2017

C Program to dereference pointer variables


Write a C Program to dereference pointer variables. Here’s a Simple Program which intialize any variable and points any pointer to it and then dereference pointer variables in C Programming Language.


Dereference Pointer in C :


Dereferencing a pointer means getting the value that is stored in the memory location pointed by pointer. * operator is used along with pointer variable while Dereferencing the pointer variable.

When used with Pointer variable, it refers to variable being pointed to,this is called as Dereferencing of Pointers

Dereferencing Operation is performed to access or manipulate data contained in memory location pointed to by a pointer.Any Operation performed on the de-referenced pointer directly affects the value of variable it pointes to.


Below is the source code for C Program to dereference pointer variables which is successfully compiled and run on Windows System to produce desired output as shown below :


SOURCE CODE : :



OUTPUT : :



Above is the source code for C Program to dereference pointer variables which is successfully compiled and run on Windows System.The Output of the program is shown above .

If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach upto you in the short interval.


Thanks for reading the post.

Leave a Reply