#include<stdio.h>
main()
{
int a[] = {0,1,2,3,4};
int *p[] = {a,a+1,a+2,a+3,a+4};
int **pp= &p;
printf("%d, %d, %d ", *pp-a, pp-p, **pp);
pp++;
pp++;;
++pp;
*++pp;
printf("%d, %d, %d ", pp-p, *pp-a, **pp);
}
output:0 ,0 ,0 ,4 ,4 ,4
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.