Questions tagged as 'operadores'

1
answer

What is the difference between = and = in Java?

Reading a book about the Java language, I came across some operators that I had never seen before. They are: >> , << , >>= , <<= , >>> , <<< , >>>= and...
asked by 27.03.2017 / 01:53
3
answers

What does% = mean?

I have a code that contains the situation below: id %= 1000 But I do not know the function of this operator.     
asked by 19.11.2015 / 13:48
2
answers

What does the ^ = operator mean in C #?

I have a function in C #, where I decrypt a string and need to convert to a function in SQL Server for technicians to be able to work with the decrypted value. There is a foreach , which I do not understand how it works: var calculoChave...
asked by 27.01.2015 / 13:32
2
answers

What is the function of the operators, and in Javascript

What is the function of the mathematical operators << , >> and >>> in Javascript? Examples: 0 or 1 >> 1 is 0 2 or 3 >> 1 is...
asked by 01.03.2014 / 21:18
4
answers

What is the difference between "++ $ variable" and "$ variable ++"?

What is the difference between ++$variavel to $variavel++ ? I realize that when I execute a for with both forms, the results are the same. Example 1: for ($i = 0; $i < 3; $i++) echo $i; Prints: 0 1 2 Exampl...
asked by 12.08.2015 / 17:16
3
answers

Operator Precedence

I have a question regarding the precedence of operators in JAVA. I have the following code: int x = 2; long y = 1 + x * 4 - ++x; Viewing the precedence table here . In my view the expression should be resolved as follows: 1 + x * 4 -...
asked by 16.11.2015 / 23:47
2
answers

Actual difference between operator point (.) and operator arrow (-) in C?

What is the real difference between the two operators. I know that the (->) operator is used when the variable is a pointer, and that it is equal to (*ptr).membro . Well, if I declare a pointer of the type of a structure, I mu...
asked by 19.02.2015 / 03:29
4
answers

Use of & along with Operators and Functions in PHP

What is the meaning of using & with operators and functions in PHP since I checked in some libraries Example and functions this use (I am aware of the use next to variables has relation to the passing of pointers) $browser...
asked by 19.02.2015 / 12:57
2
answers

C Operator Precedence Table

In C why does y = (y=2 , y+3) return 5 if + has priority over = and , ?     
asked by 22.03.2015 / 18:46
2
answers

What's the difference between using a comparison with = or simply?

Imagine the following scenario. int i = 2; if(i >= 2) { //.... } When we could simply summarize for; int i = 2; if(i > 1) { //.... } My doubts with these two expressions are as follows: When a low-level language interp...
asked by 01.11.2016 / 15:47