← Back to archive

Stdle #92 · conversions · 2026-09-06

What does this C++ snippet output?

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

#include <iostream>
int main() {
int n = 'Z' - 'A';
std::cout << n << "\n";
return 0;
}
Conversions
4 attempts left

Answer & explanation