0

difference between = and == symbols in C programming

Shathana. S.R. Answered question May 26, 2023
User Avatar

‘==’ 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