Math, asked by madhankumarB2B, 16 days ago

What will be the value of res?
Set Integer m=3
Set Integer n=6
Set Integer p=-5
Set Integer res=(++m+n*p)
[2 Marks]​

Answers

Answered by ishankondakindi
0

Answer:

idk idkidkdidkdidk

Step-by-step explanation:

Answered by shritik1605sl
0

Answer:

The value of res is -26

Step-by-step explanation:

The pre-increment operator works on the principle, first increment and then use in the place you want.

The operators in the above expression will proceed in the precedence in which the increment operator will be first solved then multiplication and then addition.

The pre-increment operator for m (++m) will make the value of m as 4.                              res = ((++3)+(6)(-5))\\res= (4+(-30))\\res=-26

Similar questions