Which of the following statement(s) is/are correct? Tick all correct answer(s). No partial marks and no negative marks.
An identifier
Select one or more:
Is a user-defined name
Should have first character as a digit
Allows both uppercase and lowercase letters
Does not consist of any letters and digits
Answers
Answered by
3
Answer:
does not consist of any letter and digits
Explanation:
hope it will help you
Answered by
0
An identifier is a user-defined name, Allows both uppercase and lowercase letters
Identifier
An identifier is a name used to represent different programming elements like variables, arrays, structures, functions, unions, labels, etc.
The following are the rules for naming identifiers:
- Only alphanumeric characters (a-z, A-Z, 0-9) and the underscore (_) sign are allowed in an identifier.
- The names of the identifiers must be unique.
- An alphabet or underscore must be the first character.
- Keywords should not be used as identifiers.
- It can't have any white spaces in it.
Similar questions