Hey all, this isn't really a debug question, but it's in the same vein.

You know 'em, you love 'em. They are pointers. See if you can answer these simple questions about 'em:

Based on the following declarations:
int i=3;
int j=5;
int *p = &i;
int *q = &j;

determine the values for each of the following expressions. Consider each expression independent.

A) p==&i

B) * (* (& p ))

C) ((7 * (* p)) / (* q)) + 7

D) ((7 * (* p)))/*q+7

One answer per person please!

------------------
If I rest, then I rust.
--Indian Proverb