difference between = and == symbols in C programming
Shathana. S.R. Answered question May 26, 2023
= operator is used to assign value to a variable and == operator is used to compare two variable or constants.
Shathana. S.R. Answered question May 26, 2023

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