what will be the value of a if a=4
a=++a*a––;
Answers
Answered by
1
Answer:
++a = 7 (pre-increment) so (6+1=7) will be assigned to a.
2) a++ = 7 (post increment) it will remain same here,then value of a will be 8 in next step.
3) a++ = 8 (post increment) so now value of a will be 9 for further.
step 3: Now put the values of these three sub-steps in eq. (1) to get the value of b.
b = 7+7+8 = 22.
step 4 .in sub-step (3) we can say value of a = 9.
so,a = 9, b = 22.
Answered by
1
Answer:
25
Explanation:
Similar questions