IDNLearn.com is your go-to resource for finding expert answers and community support. Our experts provide prompt and accurate answers to help you make informed decisions on any topic.

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).