Web Analytics



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

Aalpha = 1 - beta;
Balpha = beta - 1;
Cbeta = beta - 1;

alpha = beta;

Dalpha = beta;

beta = beta - 1

Verified Answer :

d.

The unary postfix decrement operator, when used in an expression,
decrements the value of its operand but has the old value of the
operand.