Suppose that alpha and beta are int variables. The statement alpha = --beta; is equivalent to the statement(s) ____.

A. alpha = 1 - beta;
B. alpha = beta - 1;
C. beta = beta - 1;
alpha = beta;
D. alpha = beta;
beta = beta - 1;


Answer: C

Computer Science & Information Technology

You might also like to view...

The standard acceptable use policy begins with a statement of ____ goals and objectives.

A. security B. business C. industry D. network

Computer Science & Information Technology

Which of the following memory module types has a curved connector on the bottom edge?

a. SDRAM b. DDR4 c. DDR2 d. DDR

Computer Science & Information Technology

Why does the ADT stack implementation of the push function leave to the calling function the responsibility to detect and respond to an overflow?

A. Because it is easier that way. B. Because we cannot assume that heap overflow is an error. That decision belongs to the application. C. Because it improves the performance of the function. D. Because ADTs cannot handle errors.

Computer Science & Information Technology

A network technician is trying to terminate CAT5 modular jacks. Which of the following tools would be MOST appropriate for this scenario?

A. Crimper B. OTDR C. Throughput tester D. Punch down tool

Computer Science & Information Technology