adplus-dvertising
frame-decoration

Question

Which of the following is not a valid variable name declaration?

a.

int __a3;

b.

int __3a;

c.

int 3_a;

d.

int _3a;

Answer: (c).int 3_a;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is not a valid variable name declaration?

Similar Questions

Discover Related MCQs

Q. Variable names beginning with underscore is not encouraged. Why?

Q. All keywords in C are in

Q. Variable name resolving (number of significant characters for uniqueness of variable) depends on

Q. Which of the following is not a valid C variable name?

Q. Which of the following is true for variable names in C?

Q. Which is valid C expression?

Q. Which of the following is not a valid variable name declaration?

Q. What is the problem in following variable declaration?

float 3Bedroom-Hall-Kitchen?;

Q. Which of the following cannot be a variable name in C?

Q. Which of the datatypes have size that is variable?

Q. For the following code snippet:

char *str = “compscibits.com\0” “training classes”;
The character pointer str holds reference to string:

Q. enum types are processed by

Q. Which is false?

Q. Which of the following declaration is not supported by C?

Q. Which of the following declaration is illegal?

Q. Which keyword is used to prevent any changes in the variable within a C program?

Q. Which of the following is not a pointer declaration?

Q. Which is false ?

Q. A variable declared in a function can be used in main

Q. The name of the variable used in one function cannot be used in another function