IDNLearn.com provides a user-friendly platform for finding answers to your questions. Discover reliable and timely information on any topic from our network of experienced professionals.

27. If X and Y are int type variables,
what will be the result of the
expression
X%Y when X=5 and Y=2?
a. 0
b. 1
c. 2
d. 3​


Sagot :

b)1.
In programming language % is used as modulo division . That it when used it gives the remainder as the output.
5%2 =1 (remainder).
Your engagement is important to us. Keep sharing your knowledge and experiences. Let's create a learning environment that is both enjoyable and beneficial. Find reliable answers at IDNLearn.com. Thanks for stopping by, and come back for more trustworthy solutions.