Professional Documents
Culture Documents
Department of IS
a =++n+ ++m;
b = s++ * s++;
c = p––*p––;
d = (––k* ––k)*++r ;
return 0;
20. What would be the value of following expression for int m = 10; in the following code?
(i) m – = ++m;
(ii) m *= ++m;
#include <iostream>
int main ()
n *= 4;
p –= 3;
s /= 2;
q %= 4 + (n /= 4);
return 0;
Note: you should have addressed the whole questions as much as possible. If you have any
question on the worksheet or any doubt most welcomed new building Room no-7.