171k views
2 votes
- ___________ are programmer-chosen names to represent part of the program, such as variables - name should ________ the use - can't use c++ ___ ______ as identifiers

1 Answer

2 votes

Final answer:

Variables in C++ are programmer-chosen names used to represent parts of a program, and they should reflect their use. There are rules for naming variables in C++, including not using reserved words or special characters.

Step-by-step explanation:

Variables are programmer-chosen names to represent part of the program, such as variables. These names should reflect the use of the variable, making the code more readable and understandable. However, there are certain rules that need to be followed when naming variables in C++. For example, identifiers in C++ cannot use reserved words or special characters such as spaces or symbols.

User Janni Kajbrink
by
8.3k points