Computer Science, asked by Chandagupta, 3 months ago

what are the rules of naming variables ???​

Answers

Answered by innocentgirl1070
3

see the attachment for your answer.....

hope it's helpful to you....

#innocentgirl here❤️

Attachments:
Answered by ishapal19
2

  • A variable name can only have letters (both uppercase and lowercase letters), digits and underscore.
  • The first letter of a variable should be either a letter or an underscore.
  • There is no rule on how long a variable name (identifier) can be. However, you may run into problems in some compilers if the variable name is longer than 31 characters.
Similar questions