Can anybody tell me what is the meaning of == | SoloLearn: Learn to code for FREE!

+7

Can anybody tell me what is the meaning of ==

10/19/2018 10:21:15 AM

Satyam Sharma

18 Answers

New Answer

+8

However, I am not lazy, so listen me. In most programming languages, the operator "==" compares 2 objects and returns TRUE if they are equal and FALSE otherwise. For example, in C++: bool f = 1 == 1; // f will be TRUE cout << f << endl; // will print 1 bool f = 5 == 1; // f will be FALSE cout << f << endl; // will print 0

+6

it is a equal to operator......... like 5==5 (true) 7==4 (false) & = (single) is the assignment operator...... like int x=6 (means 6 is assigned to variable 'x'

+2

Good day! Are you seriously? You can easily find this information in google or in this application in programming courses.

+2

== means you are comparing one variable with another variable for example i=1,j=1; if(i==j) //true {... j++ } // here j is 2 now... if(i==j) //false { ... }

+1

Basically == means that you are checking what's the value: ex in javascript: var a = 5 if (a ==5)//result is true so the code is executed { alert("True") } if (a==4)//false is not printed because the code is not executed because a is not equal to 4 { alert("False") }

+1

== compares value, regardless of their type; === compares value and type

+1

it means this: 2 = 2 it means a number equal to another number, in this case, 2.

+1

It checks two variable or values and return true if they are equal otherwise false.

+1

same as. as in comparison

+1

Hey == is a comparative operator, which is used to check whether both operands are equal or not. it is different from normal = because it assigns a value to a variable. the output of == will be boolean that is true or false

0

5==5(true) 6==7(false) 7==1(false) your name==your name(true)

0

have you benn doing BASIC or something?

0

meaning of == is comparison operator which means it compares the element either it's true or false. It is mostly used in conditional statements

0

== are use to equal to in js

0

it means that any value is compared to another value. for example a==b mean a is equal to b. so if it is true or not is another issue which is used in nested operation

0

relational operator

0

== Checks if two variables are equal or not

-5

hii