Tagged: pointer

Pointers in C 38

Pointers in C

Pointers in C is one of the excellent feature introduced in C. It makes the programming very interesting. A pointer in C is a variable that represents the location (rather than the value) of a data item. Talking like a layman, C pointers points to an object or something. Let us understand C pointers in detail. Before learning the basics of pointers, let us understand how the variable is stored in the memory. When we declare a variable and assign a value to the variable, we are actually naming the memory location at which the value will be stored. The...