Hey guys. Tell answer to this question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hey guys. Tell answer to this question

a++=a++ + ((b++)/2); calculate a. a=12 b=13 c=11

8th Dec 2017, 1:39 PM
priyanshi
priyanshi - avatar
12 Answers
+ 15
a little advice from Oma Falk (Batman): ++x, x++, --x, x-- what you see first, do first
8th Dec 2017, 1:53 PM
tooselfish
tooselfish - avatar
+ 15
another question are the numbers 11, 12, 13 all integer?
8th Dec 2017, 1:54 PM
tooselfish
tooselfish - avatar
+ 14
than it should be ok 👍😉
8th Dec 2017, 1:59 PM
tooselfish
tooselfish - avatar
+ 14
ok, you are welcome, have a nice day and good luck 👍😉
8th Dec 2017, 2:01 PM
tooselfish
tooselfish - avatar
+ 12
if not, the answer could be an other
8th Dec 2017, 1:56 PM
tooselfish
tooselfish - avatar
+ 3
18 is the answer. I ran it in Code Playground
8th Dec 2017, 1:46 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
Ah!! thanks but I checked it's answer in a website and there it is 31
8th Dec 2017, 1:44 PM
priyanshi
priyanshi - avatar
+ 2
Thank you so much to tell my doubts for tomorrow's exam. 😊😊
8th Dec 2017, 1:48 PM
priyanshi
priyanshi - avatar
+ 2
well then, according to me these are
8th Dec 2017, 1:57 PM
priyanshi
priyanshi - avatar
+ 2
Yo. Thanks for ur ans
8th Dec 2017, 2:00 PM
priyanshi
priyanshi - avatar
+ 2
thank you
8th Dec 2017, 2:02 PM
priyanshi
priyanshi - avatar
+ 1
I guess yes. What is it then
8th Dec 2017, 1:55 PM
priyanshi
priyanshi - avatar