Top "Operators" questions

Why is the php string concatenation operator a dot (.)?

In PHP, the string operator dot (.) is used to concatenate strings. For example: $msg = "Hello there, " . $yourName; The dot operator …

php operators string-concatenation
Difference between some operators "|", "^", "&", "&^". Golang

Recently I read golang specification and faced with some interesting operators: & bitwise AND integers | bitwise OR integers ^ bitwise XOR …

math go operators bitwise-operators
isn't there an operator in c to change the sign of a int float etc from negative to positive or vice versa?

trying to find absolute value and i thought there was a simple way to just invert the sign with '~…

objective-c operators absolute-value negate
Is it possible to create a new operator in c#?

I know you can overload an existing operator. I want to know if it is possible to create a new …

c# .net operators
How does !!~ (not not tilde/bang bang tilde) alter the result of a 'contains/included' Array method call?

If you read the comments at the jQuery inArray page here, there's an interesting declaration: !!~jQuery.inArray(elm, arr) Now, …

javascript jquery operators bitwise-operators
and / or operators return value

I was watching a 2007 video on Advanced Python or Understanding Python, and at 18'27" the speaker claims "As some may …

python operators logical-operators
Understanding the bitwise AND Operator

I have been reading about bit operators in Objective-C in Kochan's book, "Programming in Objective-C". I am VERY confused about …

objective-c operators bit-manipulation bitwise-operators
Why does this go into an infinite loop?

I have the following code: public class Tests { public static void main(String[] args) throws Exception { int x = 0; while(x&…

java loops operators variable-assignment increment
Why is sizeof considered an operator?

Why is sizeof considered an operator and not a function? What property is necessary to qualify as an operator?

c operators sizeof
What is the @ operator in MATLAB?

I've only used MATLAB 6.5 before. I got some programs that is using '@'. Can someone tell me what is …

matlab syntax operators symbols function-handle