Stdle #155 · storage · 2026-11-08
What does this C snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <stdio.h>const char *name(void) { static char buf[4] = "ab"; buf[2] = 'c'; return buf;}int main(void) { printf("%s\n", name()); return 0;}Storage