Can variable have integers in their name? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can variable have integers in their name?

30th Mar 2021, 6:54 AM
Umang Gupta
2 Answers
+ 6
Yes, but variable should not start with an integer 37hd = 7 //not allowed hd37 = 7 //allowed h37d = 7 //allowed
30th Mar 2021, 6:56 AM
Carlos
Carlos - avatar
+ 3
Yes. But it can't start with an integer.
30th Mar 2021, 7:17 AM
Michael
Michael - avatar