answersLogoWhite

0


Best Answer

One equals is used in an equation which is true, such as 5 + 3 = 8

Equals equals is used in computer programming as a question as to whether 2 things are equal. Like

If x == 4

perform this operation

...

If you are referring to 'C' language programming:

A single equal sign is an assignment, a double equal sign is a comparison.

a = 7; /* An assignment. You are assigning the value of 7 to the variable called 'a' */

if (a == 7) /* A comparison. You are checking if the variable 'a' has the value of 7 */

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between a equals equals 0 and a equals 0?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between equals 0 and equals NULL?

NULL is for pointers, 0, for numbers


What is the difference between 134and -45?

The difference between the two is 179, since -45 + 45 equals 0 and added on to 134 gives you a total of 179.


What is the difference between ' equals equals ' and ' equals equals equals?

one equals


What is the difference between 32volt's equals 940MA and 32volt's equals 375MA?

There is no difference. The statements are equally false.


If x equals 2 and y equals 8 what is the difference?

To find the difference between two numbers, subtract them.


What is the difference between 1 and 0?

The difference is 1 .


What is the difference between 0 and 7.5?

The difference is 7.5 .


What is the difference between 12 and 0?

The difference is 12.


What is difference between equals and equals equals operators?

The equals operator is used for assigning a value to a variable. ex String name = "efu"; the equals equals operator is used for comparaing if the given value is equal to another value which is assigned for a variable. ex int i = 0; int j = 5; if( i == 0){ System.out.println(j+"can't be divided by"+i); }else{ System.out.println("answer is " +j/i); }


If a equals 4 and d equals -2 what is the first four terms of the arithmetic sequence?

6


What is difference between torque at Nm equals 120 rpm equals 1800 and Nm equals 120 rpm equals 4000 give detail better as performance and load capacity in petrol engine?

Difference between Torque and load


What is the difference between division of 0 and division by 0?

nothing