question and answer 2. what is a variable ? discuss the rules for naming the variables
Answers
Answered by
4
All variable names must begin with a letter of the alphabet, an underscore, or ( _ ), or a dollar sign ($). The convention is to always use a letter of the alphabet. The dollar sign and the underscore are discouraged. After the first initial letter, variable names may also contain letters and the digits 0 to 9.
Answered by
1
Answer:
All variable names must begin with a letter of the alphabet, an underscore, or ( _ ), or a dollar sign ($). The convention is to always use a letter of the alphabet. The dollar sign and the underscore are discouraged. After the first initial letter, variable names may also contain letters and the digits 0 to 9.
Similar questions
Computer Science,
1 month ago
Environmental Sciences,
1 month ago
History,
3 months ago
Math,
9 months ago
English,
9 months ago
Psychology,
9 months ago