StackOverflow Questions for Tag: operator-precedence

EdmDroid
EdmDroid

Reputation: 1360

Why is the operator precedence not followed here?

Score: 22

Views: 3043

Answers: 5

Read More
markzzz
markzzz

Reputation: 47995

Why does !func() <= 30 always evaluate as true?

Score: -1

Views: 1638

Answers: 5

Read More
Sadique
Sadique

Reputation: 22831

What is the relation between operator precedence and order of evaluation?

Score: 52

Views: 15033

Answers: 6

Read More
BALAJI S
BALAJI S

Reputation: 37

Evaluation order in java

Score: -1

Views: 92

Answers: 1

Read More
Alexander
Alexander

Reputation: 19

Applying the BEDMAS principle for calculating 7 * (4 + 10) + (15 / 5) in assembly

Score: 2

Views: 369

Answers: 1

Read More
Rajvir B
Rajvir B

Reputation: 29

How can I fix "error: 'a' is a pointer; did you mean to use '->'?" when attempting to run my C code?

Score: 0

Views: 65

Answers: 1

Read More
Theodore R. Smith
Theodore R. Smith

Reputation: 23259

Why does the PHP null-coalescing operator (??) behave irrationally with == and ===?

Score: 5

Views: 3824

Answers: 1

Read More
Bruno Fernandes
Bruno Fernandes

Reputation: 63

What's the difference between *p++ and *p += 1 in C?

Score: 6

Views: 227

Answers: 2

Read More
Jtaylorapps
Jtaylorapps

Reputation: 5780

Which one of the logical AND (`&&`) and logical OR (`||`) operators take precedence over the other?

Score: 75

Views: 33047

Answers: 6

Read More
David542
David542

Reputation: 110432

Operator precedence of `EXISTS`

Score: 2

Views: 154

Answers: 2

Read More
Bruno Dermario
Bruno Dermario

Reputation: 133

Why the C++ compiler does not give precedence (increment operator under assignment) in this simple program?

Score: 4

Views: 849

Answers: 4

Read More
Joan Venge
Joan Venge

Reputation: 331350

Would unary negate operator come before the function call?

Score: 1

Views: 93

Answers: 3

Read More
17Twenty
17Twenty

Reputation: 297

Chaining Bool values give opposite result to expected

Score: 16

Views: 5017

Answers: 5

Read More
MoSwilam
MoSwilam

Reputation: 944

Why is `foo += a || b` not equivalent to `foo = foo + a || b`?

Score: 0

Views: 143

Answers: 1

Read More
MrJ
MrJ

Reputation: 1514

Python evaluation of expression

Score: 0

Views: 39

Answers: 1

Read More
Badasahog
Badasahog

Reputation: 763

does variable assignment escape order of operations in c?

Score: 0

Views: 48

Answers: 0

Read More
Zze
Zze

Reputation: 18835

Why can’t I use a unary operator in a chained assignment, but only in separate assignment statements?

Score: 37

Views: 7381

Answers: 4

Read More
Salma Ihab Hamed
Salma Ihab Hamed

Reputation: 25

What is the difference between order of precedence and order of evaluation in C?

Score: 1

Views: 83

Answers: 2

Read More
user647445
user647445

Reputation: 1327

Unexpected order of evaluation (compiler bug?)

Score: 5

Views: 2373

Answers: 3

Read More
Jennifer
Jennifer

Reputation: 1

I don't know how to do an assembly equation

Score: 0

Views: 121

Answers: 1

Read More
PreviousPage 1Next