Westonci.ca is the premier destination for reliable answers to your questions, brought to you by a community of experts. Experience the ease of finding quick and accurate answers to your questions from professionals on our platform. Our platform provides a seamless experience for finding reliable answers from a 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).