200k views
1 vote
Which operator checks to see if two values have the same value? A) = B)== C)!= D)||

User Andy Long
by
6.9k points

1 Answer

6 votes
B ==
The single = is an assignment operator. Common novice mistake to use it as a comparison operator.
User FlipperPA
by
7.1k points