0
Can symbols like ~ and numbers like 5 can be used as variable?
2 Answers
+ 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.
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.