+ 7

Can anybody tell me what is the meaning of ==

19th Oct 2018, 10:21 AM
Satyam Sharma
18 Answers
+ 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
19th Oct 2018, 10:27 AM
Daniel Holmes
Daniel Holmes - avatar
+ 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'
19th Oct 2018, 2:26 PM
Mohd Abdul Sameer
Mohd Abdul Sameer - avatar
+ 2
Good day! Are you seriously? You can easily find this information in google or in this application in programming courses.
19th Oct 2018, 10:24 AM
Daniel Holmes
Daniel Holmes - avatar
+ 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 { ... }
21st Oct 2018, 7:00 AM
MUSKAN PANJWANI
+ 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") }
19th Oct 2018, 12:56 PM
Daniele Bonomi
Daniele Bonomi - avatar
+ 1
== compares value, regardless of their type; === compares value and type
19th Oct 2018, 1:33 PM
Federico Riva
+ 1
it means this: 2 = 2 it means a number equal to another number, in this case, 2.
19th Oct 2018, 4:24 PM
Rayzo -
+ 1
It checks two variable or values and return true if they are equal otherwise false.
19th Oct 2018, 7:57 PM
Praveen Soni
Praveen Soni - avatar
+ 1
same as. as in comparison
19th Oct 2018, 10:02 PM
James Adeiza šŸ‡³šŸ‡¬
James Adeiza šŸ‡³šŸ‡¬ - avatar
+ 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
20th Oct 2018, 3:55 AM
Daranip
Daranip - avatar
0
5==5(true) 6==7(false) 7==1(false) your name==your name(true)
19th Oct 2018, 4:38 PM
Modoulamin
Modoulamin - avatar
0
have you benn doing BASIC or something?
19th Oct 2018, 7:37 PM
Devamitra Acharya
Devamitra Acharya - avatar
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
20th Oct 2018, 2:35 AM
Dipen Maharjan
Dipen Maharjan - avatar
0
== are use to equal to in js
20th Oct 2018, 9:36 AM
Fahad Ahmad
Fahad Ahmad - avatar
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
22nd Oct 2018, 3:20 PM
Muhammad Shahid
0
relational operator
26th Oct 2018, 6:34 PM
Awesome gameplays
Awesome gameplays - avatar
0
== Checks if two variables are equal or not
21st Nov 2018, 4:51 AM
Dakota
Dakota - avatar
- 5
hii
19th Oct 2018, 2:21 PM
Hempal