Here, ++i is previx expression -- i will be incrementd before the statement and i++ is postfix --> I will be incremented after the statement .
i=(++i)/(i++); --- 1. ++i --> i will be incremented first.-> 11
2. 11/i ==11/10 = 1.1
3. (i++) = 1.1++ = 2.1
printf("i=%d",i); --> %d id for integers, therefore 2.1 is trucated to 2.
Bye