Which of the following special symbol allowed in a variable name?
A. * (asterisk)
B. | (pipeline)
C. - (hyphen)
D. _ (underscore)
Answers
Answered by
4
Special symbol allowed in variable name is -
D. _ (underscore)
- Variable also known as data item is a storage location in computer programming that stores value.
- Variable name must contain only letters and digits. Both upper case and lower case letters are allowed in the name.
- Only one special character is permitted, which is underscore (_). Variable name can not start with digit.
- Possible variable names are - fhg, fks_rba, _els58.
Similar questions