When should a double equal sign (==) be used?

(1 point)
A. to set the value of a decimal variable
B. to set the value of a float variable
C. to check whether two pieces of data are actually equal
D. to indicate greater than or less than

1 answer

C. to check whether two pieces of data are actually equal