post increment and self assignment problem