Computer Science, asked by haiderbalach222, 2 months ago

what are the rules for naming variable?​

Answers

Answered by fearlez
6

Explanation:

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 riyaadwani52
4

Explanation:

Rules for naming variables:

️ All variable names must begin with a letter of the alphabet or an underscore( _ )

️ After the first initial letter, variables names can also contain letters and numbers.

️ Uppercase characters are distinct from lowercase characters.

Hope it helps you

Similar questions