In Example 6.9 we described a common error in Pascal programs caused by
the fact that and and or have precedence comparable to that of the arithmetic operators. Show how a similar problem can arise in the stream-based
I/O of C++ (described in Section C 8.7.3). (Hint: Consider the precedence
of <>>, and the operators that appear below them in the C column of
Figure 6.1.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here