Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++fundamental types and autoSingle-choice MCQ

Given the code below, what is the deduced type of `x`, and what does this reveal about `auto`?

const int ci = 42; auto x = ci; x = 100; // does this compile?