Q. What is the result of 7 % 2?

A
3
B
1
C
3.5
D
Error
Solution:

The % operator returns the remainder, 7 % 2 = 1.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!