a. Which of the following are invalid variable names and why?
(iii) percent
(iv) 123
(ii) S-num
(0) PaidInterest
(v) dit km
(vi) INPUT
(viii) book$
(vii) END
(ix) ia"
(x) 2ab
please friends help me to answer this question!
please please please
Answers
Answered by
1
From the given question the correct answer is
- S-name (other than underscore any other special symbol is not allowed)
- dit km (space not allowed in variable)
- 2ab (must not begin with a digit)
- book$ (In variable name, no special characters allowed other than underscore (_).)
- ia" ( In variable name, no special characters allowed other than underscore (_).)
Similar questions