[Solved] ambigious behaviour of increment operator in printf [duplicate]


It’s the oldest question ever. Why do people find this so fascinating?

This is undefined behavior; you’re relying on side-effects without a sequence point between modifications.

solved ambigious behaviour of increment operator in printf [duplicate]