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