Computer Science, asked by kanakchamola, 1 year ago

if a=5,b=9 calculate the value of a in a+=a++ + --b +a

Answers

Answered by amannishad0512p5zxh6
5

Given  -      a=5,b=9

a=a+a++  + --b +a

a=5+5+8+6                         (due to post  increment the value of a has been change in  last stage)

a=24

Mark me brainlest @


amannishad0512p5zxh6: Yaar,mere bhi toh chal rahe h
amannishad0512p5zxh6: Usse kuch nahi hota
amannishad0512p5zxh6: Accha g-mail chalate ho aap??
amannishad0512p5zxh6: Waha pe aoo , g-mail id btao apni
amannishad0512p5zxh6: Baat karte hai
kanakchamola: ham...hostle me rehte h....vahan exam pe phone pe sari id's deactivate krva dete h
kanakchamola: uk ...ke stupid rules...h
kanakchamola: tum brainly pe hi msg kro....
amannishad0512p5zxh6: Okk
kanakchamola: hmm....
Answered by Anonymous
3

a+=a++ +--b+a

a=a+ a++ +-- b +a

a=5+5+8+6

a=24


kanakchamola: noo....
kanakchamola: its all clear
Anonymous: Nope wait i will saw u.. today ..
Anonymous: I ts my real pic
kanakchamola: ohh..u r cute
Anonymous: Thankuu
kanakchamola: wlcm
Anonymous: Now can i change
kanakchamola: wlcm..
kanakchamola: yah...
Similar questions