Which C++ program instruction will subtract a value of 3 from the sum variable?
A. sum-- 3;
B. sum -= 3;
C. sum = -3(sum);
D. sum ==-3;
Answer: B
Computer Science & Information Technology
You might also like to view...
The ____________________ of a sidebar is, by default, the page name.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
____ is the order in which operators of the same precedence are evaluated.
A. Associativity B. Priority C. Syntax D. Precision
Computer Science & Information Technology
____ is the functional unit of a computer that stores and retrieves instructions and data.
a. CPU b. Input/output c. Memory d. ALU
Computer Science & Information Technology
The Format Painter button is found in the ____ group on the Home tab of the Ribbon.
A. Alignment B. Styles C. Clipboard D. Font
Computer Science & Information Technology