← Back to archive

Stdle #40 · conversions · 2026-07-16

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
double avg = (3 + 4) / 2;
printf("%.1f\n", avg);
return 0;
}
Conversions
4 attempts left

Answer & explanation