Skip to main content

Posts

Showing posts with the label Pointer

Basic Concept of Pointer in C and it's uses #DOTC_Mdb

Pointers in C.   Hello Everyone, Today we will discuss about Pointer in C program. In Simple word Pointer in C is special type of variables which holds memory address of any variable. Before going to know more about Pointer . Please see my below blog where in archive folder where you will able to find all the previous topics. dheeraj60.blogspot.com Let’s Start with Pointer in C . Pointer is basically used to see the address of variable which we assigned in the program. In other word we can say A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address. Suppose we declare any variable of int type like int i=20; and I want to see the address of that value then through pointer we can easily see the address of variable i which stored in the memory location with different format. Syntax of Declaring Pointer is : Int *p;   --