Q&A
Ask and answer questions to make information more available to wider audiences.
Katelyn Linton @lintonkatelyn   06, Apr 2023 12:00 AM
the difference between = and ==
What is the difference between = and == symbols in C programming?
answers 2
 
Answer 1
Johnny Akin @akinjohnny   06, Apr 2023 04:37 PM
‘=’ is the assignment operator which is used to assign the value of the right-hand side to the variable on the left-hand side.
 
Answer 2
Marco Airlie @airliemarco123   06, Apr 2023 04:36 PM
 ‘==’ 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.