plz help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

plz help me

int a=3 int b=2 b=a++ count<<++b answer:________

12th Jul 2016, 5:03 AM
Atka
Atka - avatar
3 Answers
+ 1
4. Since int a is assigned to the value of 2 after the function is finished (a++) it remains 3 until cout << ++b then increase 3 to 4. Ignore int = b and check comments if you miss a question too because someone might have an explanation there also.
12th Jul 2016, 5:20 AM
Jaque
Jaque - avatar
0
thanks. andualem markos borko plz give me your gmail adrees. i have got some quoetions. so i chat you. ok. plz
13th Jul 2016, 3:12 AM
Atka
Atka - avatar
- 2
4
12th Jul 2016, 8:04 AM
mayank