answersLogoWhite

0


Best Answer

x = 5; is an assignment statement that assigns 5 to x.

x = = 5; is a syntax error that fails to compile, missing an expression on the second equals sign.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between X equals 5 and X equals equals 5 in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between x equals 3 and x equals equals 3?

The second would suggest that x equals the string "=3".


What is the different between x equals 5 and x equals equals 5?

In C: x = 5 always means assign the value of 5 to x; x == 5 always means compare the value of x with 5.


What is the difference between the values of y when x equals 99 and x equals 100?

There is no way to know unless you had an equation that gives the relationship between x and y. For example, if y=2x, then when x equals 99 or x equals 100, then the value of y has a difference of 2.


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

To find the difference between two numbers, subtract them.


What is the positive difference between the two solutions of x plus 5 equals 20?

There is only one solution: x = 15. Consequently the remainder of the question is nonsense.


what 2 numbers that make 45 and their diffrence is 5?

The sum of two numbers is 45 and their difference is 5. What are the two numbers? Let's start by calling the two numbers we are looking for x and y. The sum of x and y is 45. In other words, x plus y equals 45 and can be written as equation A: x + y = 45 The difference between x and y is 5. In other words, x minus y equals 5 and can be written as equation B: x - y = 5


What is the difference between x plus x and xx?

Say x is 5 so 5 + 5 = 10 where as 5 times 5 = 25 The difference is "x + x" is a addition and "xx" (x times x) is a multiplication.


X equals 6 equals x equals 5 plus x equals 13 plus x equals 20?

x=6=x=5+x=13+x=20 x cannot = x+5. This question has no answer.


What integer divided by positive 5 equals the difference when positive 2 is subtracted from negative 4?

x/5=-4-2 x=(-6)*5 x=-30 the integer is -30


What is 5-x equals 7?

5-x equals 7 = -2


If x equals 5 and y equals 5 then 8x plus 4y equals?

(8 + 4) x 5...


How do you write the product of five and the difference between x and three?

5(x-3)