Computer Science, asked by dassankit937, 4 months ago

What are the rules to write identifier ?​


dassankit937: any where?

Answers

Answered by Anonymous
5

Rules for writing identifiers :-

  • Identifiers can be a combination of letters in lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore _ .
  • An identifier cannot start with a digit.
  • Keywords cannot be used as identifiers.
  • We cannot use special symbols like !, @, #, $, % etc.

dassankit937: i asked for
dassankit937: i have only two lines in my sheet
dassankit937: and you wrote nine lines
dassankit937: i want to know
dassankit937: how i can fit in two lines
Anonymous: just write any two points from this answer !
dassankit937: yeah boi
dassankit937: GN
Anonymous: night !
dassankit937: oh
Similar questions