Stdle #14 · conversions · 2026-06-20
What does this C++ snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <iostream>int main() { double d = 1.0 / 4; int scaled = static_cast<int>(d * 100); std::cout << scaled << "\n"; return 0;}Conversions