Top "Operators" questions

Equality comparison between multiple variables

I've a situation where I need to check whether multiple variables are having same data such as var x=1; var …

c# comparison operators equality
Why does the = operator work on structs without having been defined?

Let's look at a simple example: struct some_struct { std::string str; int a, b, c; } some_struct abc, abc_…

c++ gcc operators
How can I repeat a string N times in Perl?

In Python, if I do this: print "4" * 4 I get > "4444" In Perl, I'd get > 16 Is there an easy way …

string perl operators repeat
Using C++ ifstream extraction operator>> to read formatted data from a file

As my learning, I am trying to use c++ ifstream and its operator>> to read data from a …

c++ operators ifstream
Oracle: What does `(+)` do in a WHERE clause?

Found the following in an Oracle-based application that we're migrating (generalized): SELECT Table1.Category1, Table1.Category2, count(*) as Total, count(…

sql oracle operators
Pipe (|) operator in Java

I've got this statement in Java: System.out.println(3|4); Why is the output 7?

java operators
Difference between IN and ANY operators in SQL

What is the difference between IN and ANY operators in SQL?

sql operators any
Suppress error with @ operator in PHP

In your opinion, is it ever valid to use the @ operator to suppress an error/warning in PHP whereas you …

php operators error-suppression
Does the ternary operator exist in R?

As the question asks, is there a control sequence in R similar to C's ternary operator? If so, how do …

r operators
^ operator in java

Can anyone explain the use of ^ operator in java with some examples?

java operators