What does the expression x %= 10 do?

a. Adds 10 to the value of x, and stores the result in x.
b. Divides x by 10 and stores the remainder in x.
c. Divides x by 10 and stores the integer result in x.
d. None of the above.

b. Divides x by 10 and stores the remainder in x.

Computer Science & Information Technology

You might also like to view...

What makes PowerShell cmdlets a powerful option for system administrators when directly compared to regular command line commands?

What will be an ideal response?

Computer Science & Information Technology

A destination from one network to another used by routing tables.

What will be an ideal response?

Computer Science & Information Technology