1.

Which of the following is not a valid variable name declaration?(a) int _a3;(b) int a_3;(c) int 3_a;(d) int _3aI got this question in an interview for internship.This question is from Variable Names topic in chapter Data Types, Operators and Expressions in C of C

Answer»

The correct answer is (c) int 3_a;

EASY explanation - VARIABLE NAME cannot start with a digit.



Discussion

No Comment Found

Related InterviewSolutions