Home » Blog » Describe the difference between = and == symbols in C programming?

Describe the difference between = and == symbols in C programming?

‘==’ is the comparison operator which is used to compare the value or expression on the left-hand side with the value or expression on the right-hand side.

‘=’ is the assignment operator which is used to assign the value of the right-hand side to the variable on the left-hand side.

Leave a Reply

Your email address will not be published.