Evaluate the following expressions, if the values of the variables are :
a= 2, b = 3 and c= 9
(a) a*(++b)%c;
[Note : This a Java expression]
Answers
Answered by
3
Explanation:
b=3 therefore ++b =4 (++b is prefix which means we have to first increase the value of b one time and then we have to put the
increased value)
Attachments:
Answered by
0
Answer:
a=2,b=3,c=9
a*(++b)%C
2*4%9(% is the remainder obtained and we need to follow BODMAS while calculating)
2*1(remainder of 4/9 is 1 )
2
answer 2
please mark my answer as the brainliest
Explanation:
Similar questions