B4Coder
0%
LessonAbout 4 min

Chapter 2 · Lesson 4 of 5

04. Values that never change: const

Put const before a variable and C++ won't let anything change it. Use it for fixed values like tax rates and the days in a week.

Opening the lesson…