&var = 40; //statement 3
A. Statement 1 and 2 are wrong
B. Statement 2 and 3 are wrong
C. Statement 1 and 3 are wrong
D. All the three are wrong
Answer:A
&var = 40; //statement 3
A. Statement 1 and 2 are wrong B. Statement 2 and 3 are wrong C. Statement 1 and 3 are wrong D. All the three are wrong
Explanation:In statement 1 lvalue is required as unary ‘&’ operand and in statement 3 lvalue is required as left operand.