Computer Science, asked by shanthappn, 1 year ago

c=a-(b++)*(--a)
If a=5 and b=2


shanthappn: What’s the value of c
shanthappn: isnt that obvious?
Sumanmi: yeah, question is correct and the value of c is -3

Answers

Answered by Sumanmi
0
c= 5 - 2(3) * 4

c=5 - 2 * 4

c= 5- 8

c=-3

shanthappn: Are you sure?
Sumanmi: yeah, sure
nehar1306: c= 5 - 2(3) * 4

c=5 - 2 * 4

c= 5- 8

c=-3
nehar1306: this is correct
Sumanmi: yeah, correct
Similar questions