- A ==
- B =
- C +=
- D !=
- Share this MCQ
Answer:
A
Share this MCQ
Justification:
- The “==” is used as a relational operator between the field and the value of 1 in this example. This returns “true” when the two expressions are equal.
- The “=” operator is an assignment operator. Therefore, it is used when assigning values to variables. It is not a relational operator.
- The “+=” is an assignment operator that increments the value of the variable on the left by the value of the expression on the right.
- The “!=” operator is a relational operator returns “true” if the expressions are NOT equal.
Related Lesson: Data Updates
Click me to Read more Question & Answer of Module 14: Database ManipulationShare this MCQ