0

What should be the value of the index x[1], and x[2] ? See details below...

I have a variable named i =0; and I have an array, for example: int[] x = {i,i++,i++}; What should be the value of the index x[1], and x[2] ?

12th Sep 2016, 6:22 PM
Alberuni Azad
Alberuni Azad - avatar
1 Odpowiedź
+ 1
I've just tested, and x[1] is 0 and x[2] is 1.
13th Sep 2016, 12:00 AM
Zen
Zen - avatar