Computer Science, asked by roshanisorathiya, 8 months ago

What is a variable? Discuss the rules for naming the variables.​

Answers

Answered by shivani143913
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 pratham123456ahuja
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