I've been trying to figure this out for a few days, when I have time - but I really can't understand parts of this code.
I know how the first part printf("%s", **++cpp); points to "POINT", but the second print statement is beyond me completely. I was wondering if anyone could show me how to read this.Code:#include <stdio.h> char *c[] = { "ENTER", "NEW", "POINT", "FIRST" }; char **cp[] = { c+3, c+2, c+1, c }; char ***cpp = cp; main() { printf("%s", **++cpp); printf("%s ", *--*++cpp+3); printf("%s", *cpp[-2]+3); printf("%s\n", cpp[-1][-1]+1); }
By the way, when run, it prints "POINTER STEW".