logo

Your Questions / Our Solutions


Jese Leos

Helpdice Team

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

<p><strong>&lsquo;==&rsquo;</strong> 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.</p> <p><strong>&lsquo;=&rsquo;</strong> is the assignment operator which is used to assign the value of the right-hand side to the variable on the left-hand side.</p>
  • Share On: