what is the result of the expression given above in the photo.
Q.19
Explain me the full answer with each steps.
Attachments:
Answers
Answered by
1
Hello!!!
Your question:
5 * ++1 + 6 / 2-- ;
5 * 2 + 6 / 2 ;. //Prefix(++1;first increment then use)
Postfix(2--;first use then decrement)
5 * 2 + 3 ;
10 + 3 ;
13
Hope it helps:)
Your question:
5 * ++1 + 6 / 2-- ;
5 * 2 + 6 / 2 ;. //Prefix(++1;first increment then use)
Postfix(2--;first use then decrement)
5 * 2 + 3 ;
10 + 3 ;
13
Hope it helps:)
bhargav1434:
thanks for helping me.
Similar questions