Computer Science, asked by ankit321, 1 year ago

what are the rules of naming identifier???

Answers

Answered by rohit710
0
hello

first character must be picked from: alpha, underscore, or dollar sign. The first character can not be a digit.

ankit321: r thre 3 rules in yur ans??
Answered by cyrusbishop
2

Answer:

The rules of naming an identifier or variable are:

  • A variable may have any number of characters.
  • It may contain alphabets, digits, and underscore.
  • The underscore can be applied in between the characters to increase the length of a variable name.
  • Variable name should be meaningful which easily depicts the logic

Similar questions