given that a=5,b=3,d=1.5 find c=(a++)*d+a
Answers
Answered by
4
c=(a++)*d+a
c=(5.0)*1.5+6.0 (a++ is an postfix increment operator and not a prefix
that is it will make a change after action so the value
of a++ in the action will remain the same but the value of a will
be incremented or changed after the a++ action and the
increemneted value of a will be used everywhere for
performing any further action consisting of a.)
c=7.5+6.0
c=13.5 (implicit data type conversion)
Answered by
1
Answer:
Explanation:
c=(a++)* d+a find expression a=5 b=3 d=1.5
Similar questions
Math,
7 months ago
Economy,
1 year ago
Psychology,
1 year ago
Chemistry,
1 year ago
English,
1 year ago