Which of the following statements about evaluating binary logical expressions is false?
A. The short-cut evaluation method is considered more efficient.
B. Side effects, especially in the second operand, can lead to logic problems.
C. C uses the short-cut evaluation method.
D. For efficiency, it is a good programming style to use side effects in binary expressions.
E. In the short-cut evaluation method, it is possible to determine the result by evaluating only the first operand.
Answer: D
You might also like to view...
Which of the following creates some white space between cell contents?
A. border: solid 1px black; B. space: 4px; C. padding: 4px; D. margin-left: 4px;
When viewing a website, Internet Explorer's ________ feature allows you to prevent most advertisements from displaying
A) Pop-up Blocker B) SmartScreen Filter C) Do Not Track D) InPrivate Browsing
To change the background color of your page, you can add the background ____.
A. attribute B. link C. value D. behavior
Match each item with its location in the numbered list below.
A. Marks an unread message as read or a read message as unread B. Marks a message with a flag C. Accesses built-in search folders and allows you to create a custom search folder D. Marks a message as Normal, Personal, Private, or Confidential E. Displays information about the sender of a message