I am having problems with precedence. I am looking at a study guide and it says that:
2^4/2*3
is equal to 4 (where ^ is the exponential operator). And also,
4^3/2/3/2
is equal to 4 (where ^ is the exponential operator).
I can't see how they get 4 and also I can't find any information on the exponential operator (putting it into search engines and in my book). I think it may have something to do with the numbers being of type int so that when you divide two ints and get a decimal value, it rounds down.
I don't know if I am right and I can't see how they get 4 four the answer to both of these expressions. Help me or at least let me know where I can read about the exponential operator