If you just declare a pointer, you can't start accessing stuff through it. You have to point the pointer to something first.
Code:
int x = 0;
int *p = &x;
printf("%d %d\n", x, *p); /* prints "0 0" */
x += 1;
*p += 1;
printf("%d %d\n", x, *p); /* prints "2 2" */
Assuming that your pointers actually point to something . . . how is this code being used? If it's something like this:
Code:
void handle_integer(int *p) {
/* ... */
}
and the function is called for every integer or whatever that you are handling, then the function's code is executed once for every integer. p will point to every integer that the function is called with in turn.