← Back to archive

Stdle #180 · pointers · 2026-12-03

What does this C snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

#include <stdio.h>
int main(void) {
const char *words[3] =
{"red", "green", "blue"};
const char **pp = words;
pp++;
printf("%s\n", *pp);
return 0;
}
Pointers
4 attempts left

Answer & explanation