Hello Mehraj !
The essential component for rusting is the contact of metal with oxygen and moisture. When the iron gate is painted, it protects the iron to get in contact with oxygen, hence prevents it from rusting.
All the best !
Eligibility | Application | Exam Pattern | Admit Card | Preparation Tips | Books | Question Paper | Accepting Colleges
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile