Table of Content

Variable Naming MCQ : True or False Questions (Multiple Choice)


Question 1
Function can be considered as L Value.
A
True
B
False
Question 2
R Value of Variable can be considered as __________ value of variable.
A
Left
B
Right
Question 3
R Value may be Variable -
int num1 = 20;
int num2 = num1;
A
True
B
False
Question 4
The term ________ is sometimes used to describe the value of an expression and to distinguish it from an ______.
A
L Value, R Value
B
R Value, R Value
C
R Value, L Value
D
L Value, L Value
Question 5
Following C expressions can be l-value expressions -
  1. An identifier of integral, floating, pointer, structure, or union type
  2. A subscript ([ ]) expression that does not evaluate to an array
  3. A member-selection expression (–> or .)
  4. A unary-indirection (*) expression that does not refer to an array
A
1,2,3
B
1,2,3,4
C
1,3,4
D
2,3,4
There are 5 questions to complete.