0 votes
399 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 502 views
0 votes
1 answer 389 views
0 votes
1 answer 416 views
+1 vote
1 answer 334 views
0 votes
1 answer 522 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!

Recent Badges

Doubtly Earned a badge
Doubtly Earned a badge
Doubtly Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...