i think the “+” should do first than “>>”, and the answer should be “5”, but it got “6” in golang.
i want to know how it happened? why did golang not calculate following the rule that “+” should be done first than “>>”?
i think the “+” should do first than “>>”, and the answer should be “5”, but it got “6” in golang.
i want to know how it happened? why did golang not calculate following the rule that “+” should be done first than “>>”?