What is a variable? Discuss the rules for naming the variables.
Answers
Answered by
11
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.
Answered by
6
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
Math,
4 months ago
Math,
4 months ago
Accountancy,
4 months ago
English,
8 months ago
Math,
8 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago