Stdle #110 · strings · 2026-09-24
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 a[] = "abc"; char b[] = "abd"; printf("%d\n", strcmp(a, b)); return 0;}Strings