Classify the following as Valid/Invalid Identifier name.
[ Add-Num, Sum2, AreaSquare, Currency$, 4Sum, Multiply*2 ]
Answers
Answered by
1
Answer:
add num-
Explanation:
i think this is the right answer
Answered by
2
Answer:
Serial_no. = invalid as we can’t use ‘.’ in variable names
ii. 1st_Room = invalid as we can’t begin variable names with digits
vi. total-Marks = invalid as ‘-’ is not allowed in variable names
iv. Total Marks = invalid as there are two separate words in the variable name
viii.True = invalid as it is a keyword
Similar questions