Home » C Programming » Pointers

What will be the output of the program? #include int main() { static char *s[] = {"black", "white", "pink", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s", **p+1); return 0; }

Correct Answer: ink

← Previous Question Next Question→

More Questions from Pointers

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion