0 votes
137 views
in C program by (98.9k points)
edited

What is the difference between the = symbol and == symbol?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
The = symbol is often used in mathematical operations. It is used to assign a value to a given variable. On the other hand, the == symbol, also known as “equal to” or “equivalent to”, is a relational operator that is used to compare two values.

Related questions

+1 vote
1 answer 202 views
0 votes
1 answer 121 views
0 votes
1 answer 119 views
+1 vote
1 answer 115 views
0 votes
1 answer 187 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...