Quantcast
Channel: C
Viewing all articles
Browse latest Browse all 46

A Beginner's Guide to Pointers

$
0
0

Introduction



Definition: Pointer is a variable which stores address of another variable.

To understand this definition properly, let us separate it into two statements:

1. Pointer is a variable.
2. It stores address of another variable.

Consider the first statement, it means that a pointer is a variable like any other variable such as i in the statement int i, f in the statement float f, c in the statement char c etc. Now consider the second statement, it...

A Beginner's Guide to Pointers

Viewing all articles
Browse latest Browse all 46

Trending Articles