Thanks :D :D
I know it's stupidity to write somethig like that code I wrote but i just wondered since if i do
someArray[i++]
I get ith element and "i" will be i+1 after that line. But when...
Type: Posts; User: yeKciM
Thanks :D :D
I know it's stupidity to write somethig like that code I wrote but i just wondered since if i do
someArray[i++]
I get ith element and "i" will be i+1 after that line. But when...
It seems that there are two times incrementing... but both of them is before adding... after adding two integers, it stores value and after that there's no increment... :(
now i'm just more...
I know :D
that's why I said it's wrong to do it like this :D
I just wonder how does java compiler handles this situation with ++k and k++ (because stack memory is not in the physical memory but...
Hello all,
I have perhaps one silly question... :)
when i compile code :
int k = 5;
k = ++k + k++;
System.out.println(k);