Yeah But its given post increment so values will be print after assignment and & 7 will never gonna come in result because auto variable is going to get flushed after each function call. Please check, may be you refer the wrong value as static variable.