Computer Science, asked by raghvander100, 8 months ago

int a=9,b=3 find b+= b++ +a; also find a and b​

Answers

Answered by chillvibes
0

nt a=2 ;

int b=3;

int c=9;

int z= a* (++b) % c;

Process::

z=a* (++b) %c

z=2*(++3)%9

z=2*4%9 (prefix function increases the value of b by +1)

z=2*4(in computer,mod function is first operated.

z=8

Similar questions