C++ Declare Multiple Variables
Declare Many Variables
To declare more than one variable of the same type, use a comma-separated list:
One Value to Multiple Variables
You can also assign the same value to multiple variables in one line:
Exercise?What is this?
Test your skills by answering a few questions about the topics of this page
True or False:
In C++, you can declare multiple variables of the same type in a single line.