Puzzle : simple and funny | Sololearn: Learn to code for FREE!


Puzzle : simple and funny

int i=1, x=0; x= ++i + ++i + i++ + ++i + i-- + i++; What are the values of x and i at the end ? inspired by Rose Sevenyears if you like the question you can leave a like 🐈

5/15/2017 6:42:56 AM

NimWing Yuan

5 Answers

New Answer


x = 22 i = 5 Solution: // Do it yourself...


Hey @nimwing I think you've copied the question from @rose.


x=22 i=5. Quite good.


@Vishnu ks It's different and here's my nickname,so I don't mind at all :D P.s. and I copied it from my friend(in real) too :D