Which of the following is wrong in reference to naming variable/Identifier?
Special symbols are not allowed
Underscore are not allowed for variable names
Spaces are not allowed for variable names.
Keywords are not allowed for variable names.
d. All of the above
Answers
Answered by
0
Explanation:
I believe the answer is underscore
Answered by
1
Underscore are not allowed for variable names.
Explanation:
It is a false statement as underscores are allowed in naming the variables.
Spaces are not allowed for variable names.
Keywords are not allowed for variable names.
Variables can have letters, numbers, and underscores.
Variable names can start with a letter or an underscore, but can not start with a number.
Spaces are not allowed in variable names, so we use underscores instead of spaces.
For example, user_name instead of "user name"
Similar questions
World Languages,
6 hours ago
Computer Science,
6 hours ago
Math,
11 hours ago
Hindi,
11 hours ago
History,
8 months ago
Math,
8 months ago