← Back to archive

Stdle #24 · pointers · 2026-06-30

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
int a[3] = {42, 43, 44};
int *p = a;
printf("%d %d\n", *a, *p);
return 0;
}
Pointers
4 attempts left

Answer & explanation