0

Can symbols like ~ and numbers like 5 can be used as variable?

15th Jun 2016, 4:11 AM
Shrishail Mulawad
Shrishail Mulawad - avatar
2 odpowiedzi
+ 3
~ cannot be used to name a variable. Legal names for variables are for example a1,a, a_b, _a. and u cannot start with numbers either.
15th Jun 2016, 5:11 AM
Sardor
Sardor - avatar
0
No , we cannot use special characters in the naming of variable you can use 0 to 9 digit but not allows to use as a first latter.
18th Jun 2016, 7:20 AM
Riddhi Sankaliya
Riddhi Sankaliya - avatar