Stdle #38 · strings · 2026-07-14
What does this C snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <stdio.h>#include <string.h>int main(void) { char s[10] = "hi"; printf("%zu %zu\n", strlen(s), sizeof s); return 0;}Strings