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
0
Answer:
idk idkidkdidkdidk
Step-by-step explanation:
Answered by
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.
Similar questions
Social Sciences,
22 days ago
Physics,
22 days ago
Math,
1 month ago
Hindi,
8 months ago
Math,
8 months ago