Greg Stevens wrote:I'm still confused. It just makes no sense whatsoever to me to say
post increment operator has highest precedencepost decrement operator has higher precedence than pre increment operator
Greg Stevens wrote:but pre increment is evaluated first. Obviously I am confused about the meaning of precedence. Common usage of precedence refers to one thing happening before another.
Greg Stevens wrote:The instructor clearly has operator precedence and order of evaluation confused. I'm glad I came here, because even after reading the JLS, I knew something was wrong, but not exactly what -- the specification is not very easy to decipher for mere mortals like myself. I would still be confused if you guys hadn't told me operator precedence is not the same as order of evaluation.
Your mother was a hamster and your father was a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton