Computer Science, asked by ravin1221, 10 months ago

What is the difference between single equal = and double equal == operators in c?

Answers

Answered by vaibhavtandon98
12

Answer:

single = is for assigning the values to a variable hence called as assignment operator and == is for checking the equality of two values and hence is one of the relational operators

Explanation:

Answered by AyushKumarAK
7

Single = is an assignment operator used to assign the value to the variable.

Whereas

Double = = is rational operator used to compare two variable whether they are equal or not.

Similar questions