pointer program execution

please explain the execution of this program

#include<stdio.h>
char *c[]={"ENTNG", "NST","AMAZI","FIRBE"};
char* *cp[]={c+3, c+2, c+1, c};
char ***cpp= cp;
void main() {
printf("%s",**++cpp);
printf("%s ",*--*++cpp+3);
printf("%s",*cpp[-2]+3);
printf("%s",cpp[-1][-1]+1);
}

Interesting....

and please explain what you think it's doing, if you have any specific questions you will get a lot more response.
Nah don't think I'll bother.
what is the meaning of the statement char **cp[]={c+3, c+2, c+1, c}; and
how will the statement char ***cpp=cp; will save the array since cpp is not an array.
Topic archived. No new replies allowed.