This is C++ · easy, lesson 1: const. Read the teaching and the stills before the checks. The quizzes are open book and test the subject — C++ itself — not product rules or layout trivia.
Lessons · C++ Easy · Lesson 1 of 10 · On the house
const
A promise not to change.

You already finished Introductory. I will not re-teach the absolute first hello. We build upward.
const int n = 3; cannot be reassigned.
Const documents intent to readers and compilers.
Const references avoid copies without allowing mutation.
Prefer const by default when values should not change.
const
const int n = 3;Sit with that still. Trace it top to bottom. Name each piece. The exercise asks you to match its essence.
If something fails when you try it yourself, change one thing. Read the error. Return to the still. I will not rush you.
Quiz
What does const int n = 3 mean?
Quiz
Why use const?
Quiz
Can you write n = 4 after const int n = 3?
Quiz
Based on today's teaching, which claim is right?
Quiz
Based on today's teaching, which claim is right?
Quiz
Based on today's teaching, which claim is right?
Quiz
Based on today's teaching, which claim is right?
Check
Match the still for: const.
That is the lesson. When every quiz and exercise on this page is green, mark it passed. Next lesson when you are ready.
Open-book: the answers are on this page. Pass every quiz and check (8) to mark the lesson done. This visit: 0/8.