← Back to archive

Stdle #107 · conversions · 2026-09-21

What does this C++ snippet output?

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

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

Answer & explanation