Iron can be prevented from rusting by:
Cathodic protection: A technique to control corrosion of a metal surface by making it work as a cathode of an electrochemical cell by placing in contact with the metal to be protected another more easily corroded metal to act as the anode of the electrochemical cell. Most commonly used to protect steel, water pipelines, and storage tanks.
Anodic protection: A technique to control corrosion of a metal by making it work as anode developing a passive film on the metal. It used in extremely corrosive conditions and most extensively used to store and handle sulphuric acid container.
Hence, option A and C are correct