Question: For the expression ( i ) - a / b ( ii ) - a * b ( iii ) - a * * b

For the expression (i)- a / b (ii)- a*b (iii)- a**b, what is the effect of unary minus operator?
Question 4 options:
A. For (i) and (ii), the order of evaluation of the two operators matters, but for (iii) it does not matter
B. For (i) and (ii), the order of evaluation of the two operators does not matter on the value of expression, but for (iii) it matters
C. For all of them, the order of evaluation of the two operators does not matter
D. For all of them, the order of evaluation of the two operators matters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!