- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
The use of "=" operator is that it assigns value from right to left, whereas "==" shows whether the given values are equal or not.In the following example variables x and y were assigned values using "=" operator and their magnitudes were checked using "==" operator.
<html> <body> <p id="equal"></p> <script> var x = 5; var y = "6"; document.write(x); document.getElementById("equal").innerHTML = (x == y); </script> </body> </html>
- What is difference between '.' , '?' and '*' in Python regular expression?
- What is the difference between 'isset()' and '!empty()' in PHP?
- What is the difference between 'log' and 'symlog' in matplotlib?
- The difference between 'AND' and '&&' in MySQL?
- What is the difference between the 'COPY' and 'ADD' commands in a Dockerfile?
- Difference between 'include' and 'extend' in Ruby
- Difference between 'struct' and 'typedef struct' in C++?
- Difference between 'struct' and 'typedef struct' in C++ program?
- What is the difference between 'except Exception as e' and 'except Exception, e' in Python?