1.

Which of the following is not a valid C variable name ??a)var123b) var_123c) 123vard) X_123_var​

Answer»

Answer:

Option (C) 123var is not a valid C VARIABLE NAME.

Explanation:

For naming a C variable, capital LETTERS, small letters, UNDERSCORE, and even numbers can be used. However, the variable name cannot start with numbers and hence, 123var is incorrect. The first character of a variable name should be either an alphabet or underscore.



Discussion

No Comment Found