Q. In an assignment statement a=b Which of the following statement is true?
-
(A)
The variable a and the variable b are equal.
-
(B)
The value of b is assigned to variable a but the later changes on variable b will not affect the value of variable a
-
(C)
The value of b is assigned to variable a and the later changes on variable b will affect the value of variable a
-
(D)
The value of variable a is assigned to variable b and the value of variable b is assigned to variable a.
β
Correct Answer: (B)
The value of b is assigned to variable a but the later changes on variable b will not affect the value of variable a