C-16-Q026mediumsingle_mcq
National ID is invalid as a variable name; which of the following corrects it?
National ID is invalid as a variable name; which of the following corrects it?
- a
National-ID - b
NationalIDorNational_ID - c
National.ID - d
National ID!
ব্যাখ্যা
The space in National ID makes it invalid, so the words must be merged as NationalID or joined with an underscore as National_ID. A hyphen or dot would be read as an operator, not part of the name.