The following code prints a value of 9. Why? Here return(i++) will return a value of 11 and due to --i the value should be 10 itself, can anyone ex
return(i++)
--i
i++ is post increment. The increment takes place after the value is returned.