Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 1 (Q.No. 9)
9.
Which of the following is not a valid variable name in C?
1 a
a 1 2
a b 123
a b c 123
Answer: Option
Explanation:

First character must be alphabet.

Discussion:
5 comments Page 1 of 1.

Lubna said:   1 decade ago
Sir please explain how?

Madhan said:   9 years ago
Kindly explain it.

Naveen Kumar said:   9 years ago
We have to put the first variable as alphabet don't do any & operands there it's a basic form in C.

Prasu said:   7 years ago
C language in identifiers there is a rule that it should not start with a number.

Doss said:   5 years ago
Correct, similarly we can't use space between name.

Post your comments here:

Your comments will be displayed after verification.