#include<stdio.h>
int main()
{
static int arr[]={0,1,2,3,4};
int *p[]={arr,arr+1,arr+2,arr+3,arr+4};
int **ptr=p;
ptr++;
printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);
*ptr++;
printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);
*++ptr;
printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);
++*ptr;
printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);
return 0;
}
wat shd b the o/p n why...-- 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.
