hain ,
that the internal working of compiler how to treat the %d in scanf.