|
|
"World! " "Hello, " "Hello, " "Hello, World!" "Hello, World!" "World! " |
"World! " "" "" "World! " "World! " "World! " |
ios::out || ios::app
is a legal if somewhat suspicious statement (although not the programmer really wanted). It returns true or false which can be silently cast by the compiler to the required type
|
|
ios::out|ios::app
ios::out | ios::app
. However this does not produce the desired result (see above).
|
|