- Names can contain letters, digits and underscores.
- Names must begin with a letter or an underscore (_)
- Names are case sensitive ( myVar and myvar are different variables)
- Names cannot contain whitespaces or special characters like !, #, %, etc.
BrindhaPrathaban Answered question
C++ Identifiers
Identifiers are the unique names given to variables, classes, functions, or other entities by the programmer. For example, int money; double accountBalance; Here, money and accountBalance are identifiers.
BrindhaPrathaban Answered question
Identifiers are the unique names supplied by the programmer to variables, classes, functions, or other entities. For instance, int money; double accountBalance; money and accountBalance are identifiers in this case.
Vishalini.R Answered question
