Which of the following statements about unary expressions is true?
A. The sizeof operator requires a parenthetical expression as its operand.
B. The unary plus operator does not change the value of the expression.
C. The unary minus operator subtracts one from the operand value.
D. The unary minus operator has a side effect.
Answer: B
You might also like to view...
Describe antispoofing logging and how you can prevent it with ACLs.
What will be an ideal response?
One way to limit the effect of an untrusted program is confinement: controlling what processes have access to the untrusted program and what access the program has to other processes and data. Explain how confinement would apply to the earlier example of the program that computes the sum of the integers 1 to 10
What will be an ideal response?
In one style of entity-relationship (E-R) diagrams, the letter n is used to represent the ____________________ side of a relationship.
Fill in the blank(s) with the appropriate word(s).
What is the task of the toVector() method of the ADT Bag?
a. copy the entries of the bag into a vector b. vector the entries to the printer c. test to see if there is a vector to the bag d. remove all objects from the bag