Write the rules for declaring the variables. Explain with examples
Answers
Answered by
5
Rules for naming variables:
- All variable names must begin with a letter of the alphabet or an. underscore( _ ). ...
- After the first initial letter, variable names can also contain letters and numbers. ...
- Uppercase characters are distinct from lowercase characters.
- You cannot use a C++ keyword (reserved word) as a variable name.
Similar questions
Economy,
1 month ago
Business Studies,
1 month ago
Computer Science,
1 month ago
Math,
4 months ago
Geography,
4 months ago
English,
10 months ago
Math,
10 months ago
English,
10 months ago