| 1. | What will be the output of the program? class SSBool |
|||||||||
Answer: Option B Explanation: The & operator has a higher precedence than the | operator so that on line 8 b1 and b2 are evaluated together as are b2 & b3. The final b1 in line 10 is what causes that if test to be true. Hence it prints "dokey". |
