0
Can anyone understand "/="
I've Ques... in which a loop is there... what is happening with - "a/=a++" https://code.sololearn.com/c4iB7k531HZ4/?ref=app
1 Odpowiedź
+ 8
initially a=3 and a>1so sum=3;
now a/=a++; i.e.,a=3/3++;before 3 gonna increment ,a is assigned as a=3/3 ,which is 1.
if a/=++a, it should be a=3/++3; a=3/4; and a=0