C-16-Q035mediumsingle_mcq
To set the value of age to 25, we write:
To set the value of age to 25, we write:
- a
age == 25 - b
age := 25 - c
age = 25 - d
25 = age
ব্যাখ্যা
Assignment uses a single =, with the variable name on the left and the value on the right, giving age = 25. The forms == and := are comparison and walrus operators, and 25 = age is invalid because the target must be on the left.