1. Identify the correct variable name
a. 1number
c. num.2.
b. Num1
d. Num1&2
and explain
Attachments:
Answers
Answered by
4
Answer:
it's (b)
Because it neither has a special character nor a digit in the beginning.
Answered by
7
Answer:
a. 1number ---> Wrong
The first letter of a variable should be either a letter or an underscore.
b. Num1 ---> Correct
After the first letter variable names may also contain letters and the digits 0 to 9.
c. num.2 ---> Wrong
Special characters are not allowed
d. Num1&2 ---> Wrong
No spaces or special characters are allowed
Similar questions