Computer Science, asked by sicario, 3 months ago

List out the rules for naming a variable ,class 8

Answers

Answered by bilungdibya7
2

Answer:

Rules of naming variables

Name your variables based on the terms of the subject area, so that the variable name clearly describes its purpose.

Create variable names by deleting spaces that separate the words. ...

Do not begin variable names with an underscore.

Do not use variable names that consist of a single character.

Answered by Anonymous
3

Explanation:

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