← BYTES
C·Starter·Ref: 7.1.4

What is the difference between '==' and '=' in C?

Have a question about this video? Mention reference 7.1.4 when you contact us.

a.'==' compares values, '=' assigns a value
b.They are identical
c.'=' compares, '==' assigns
d.Neither is valid C
'=' is the assignment operator (stores a value into a variable); '==' is the equality comparison operator (returns 1 or 0).

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES714#C