Bascis of Pointers In C language

A pointer is a variable which contains the address of the variable specified. For example: int x = 100; int *data; data = &x; This variable data contains the address of the block in the memory which contains the value 100. * specifies that this is the pointer variable. & gives the address. that is the what I am doing here assigning the address of the integer variable x to the pointer variable data....

December 18, 2018 · 3 min · Rahul Rajput