pointers

hi
i am not getting pointers concept.guide me to learn this concept.i can't understand the increment and decrement of pointer variable.
And maximum how many dereference operator you can apply in while declaring a pointer variable.

>i can't understand the increment and decrement of pointer variable.
Pointers are an abstraction. Think of it like this: a pointer points to a thing. When you increment a pointer, you tell it to point to the next thing. When you decrement a pointer, it points to the previous thing.

The way C makes this magic happen is by adding or subtracting N, where N is number of things * size of one thing . All of this is done behind the scenes, which is why p++ works correctly regardless of the size of the thing that p points to.

>And maximum how many dereference operator you
>can apply in while declaring a pointer variable.
Up to twelve, but if you get close to that, I'd question your sanity.

For pointer concept you look at the post by Naure I am just throwing some light on similarities between variable increment and pointer increment. (Thought that would help you link these two things and understand better.)

2)
variable++ = get value of variable , add one to it , store this value back into variable
pointer++ = get address pointed to by pointer , add sizeof(pointer) to it , make pointer point to this address

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...