Ask a Question

frnds, what will be the output of the following c programme:-main(){ int i=1; printf("\n%d%d%d"i,++i,i++);}. plz help me by telling the correct answer. its urgent.

on 2013-07-20 01:58:19   by sounak   on Electrical Engineering  1 answers

Ashish

on 2013-07-19 09:30:00  

The correct Output would be 1 2 1 . ++i returns the incremented value ... whereas i++ prints the pre incremented value.