Which of the following variable is not allowed in C? a) $abc_123 b) _abc$123 c) $abc&123 d) _abc_123
Answers
Answered by
5
Answer:
I hope the answer is c .........
Answered by
0
"Option C: $abc&123".
Explanation :
In C, Variable names are made up of letters in uppercase, lowercase, and digits. The underscore symbol "_" is also permitted in C. The variable names must not begin with a number. Unlike some languages, C does not use any special characters in the prefix on variable names.
In C, the variable name can only have letters, digits, and underscore and no special characters in middle.
In option C, variable names have a "&" symbol in the middle, which is not allowed in C.
Similar questions