← Back to archive

Stdle #122 · pointers · 2026-10-06

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 *const s = "fixed";
printf("%c\n", s[2]);
return 0;
}
Pointers
4 attempts left

Answer & explanation