C Programming Variable Names 1 Online Exam Quiz
C Programming Variable Names 1 GK Quiz. Question and Answers related to C Programming Variable Names 1. MCQ (Multiple Choice Questions with answers about C Programming Variable Names 1
C99 standard guarantees uniqueness of ___________ characters for external names.
Options
A : 31
B : 6
C : 12
D : 14
Variable name resolution (number of significant characters for the uniqueness of variable) depends on ___________
Options
A : Compiler and linker implementations
B : Assemblers and loaders implementations
C : C language
D : None of the mentioned
Which of the following is not a valid variable name declaration?
Options
A : int __a3;
B : int __3a;
C : int __A3;
D : None of the mentioned
Which of the following is not a valid C variable name?
Options
A : int number;
B : float rate;
C : int variable_count;
D : int $main;
Why do variable names beginning with the underscore is not encouraged?
Options
A : It is not standardized
B : To avoid conflicts since assemblers and loaders use such names
C : To avoid conflicts since library routines use such names
D : To avoid conflicts with environment variables of an operating system
All keywords in C are in ____________
Options
A : LowerCase letters
B : UpperCase letters
C : CamelCase letters
D : None of the mentioned
Which of the following is true for variable names in C?
Options
A : They can contain alphanumeric characters as well as special characters
B : It is not an error to declare a variable to be one of the keywords(like goto, static)
C : Variable names cannot start with a digit
D : Variable can be of any length
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Programming Sizeof Keyword 2
C Programming Storage Management 1
C Programming String Operations
C Programming Variable Length Argument
C Programming Variable Names 2
C Plus Plus Aptitude Question Answer Pointers