Which of the following are valid identifiers and why/why not:
(i) Myfile (ii) 29CLCT (iii) DATE9_7_77
(iv) break (v) $1_to_$10
Answers
Answered by
1
Answer:-
(i) Myfile
(ii) DATE9_7_77
(i) 29CLCT
must not begin with a digit.
(ii) break
A keyword cannot be used as an identifier.
(iii) $1_to_$10
Only special character allowed is undercore ; $ not allowed.
✨
Similar questions