Which of the following is the correct statement ?
(1) Variable name must start with underscore
(2) Variable must have digits
(3) Variable name must have white space
(4) Keyword cannot be a variable name.
Answers
Answered by
54
Hey there....!!
The statement which is correct is➡
(4) Keyword cannot be a variable name✔
Hope this helps!!
Answered by
2
'Keyword cannot be a variable name' is the correct statement.
Option: (4 )
Explanation:
- Variables can be defined as the names which can be given to the memory locations that are used for storing values in a software program.
- Creation of variable can be referred as variable declaration. We can give any name to the declared variable such as age, salary, x, y, year 2000.
- It can be a mixed of a to z, A to Z, 0 to 9. But the variable name should be started with alphabet. And a keyword should not be a variable name.
Similar questions