Computer Science, asked by lokendrabaghel8613, 8 months ago

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 sameeha343
5

Answer:

I hope the answer is c .........

Answered by letmeanswer12
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