C Programming - Pointers

by gowtham 2010-02-15 10:09:25

In c a pointer is a variable that points to or references a memory location in which data is stored. Each memory cell in the computer has an address that can be used to access that location so a pointer variable points to a memory location we can access and change the contents of this memory location via the pointer.

type * variable name

Example:

int *ptr;
float *string;

Tagged in:

801
like
0
dislike
0
mail
flag

You must LOGIN to add comments