Which of the following declarations is incorrect?
1 point
_x = 2
__x = 3
__xyz__ = 5
None of these
Answers
Answered by
16
Answer:
C. Xyz=5 is incorrect
Explanation:
Hopebit helps
QwQ
Answered by
4
None of the declarations are incorrect.
Since the declarations of identifiers are restricted to some rules,
- It should only be combined with lower and upper case letters, digits, and underscore only.
- It cannot start with a digit.
- Special symbols cannot be used.
- Reserved keywords cannot be used as identifiers.
- In some programming languages, the length of identifiers are restricted.
Similar questions