Is there any difference between the Java and C++ operators?

Viewed 5093

If you take Java's primitive numeric types, plus boolean, and compare it to C++ equivalent types, is there any difference what concerns the operators, like precedence rules or what the bit-manipulation operators do? Or the effect of parenthesis?

Asked another way, if I took a Java expression and tried to compile and run it in C++, would it always compile and always give the same result?

6 Answers
Related