This code find maximum or largest element present in an array. It also prints the location or index at which maximum element occurs in array. This can also be done by using pointers (see both codes).
Wires are made of metal (almost always copper or aluminum, for electrical wires) because those are the best conductors. The internal components of switches are also made of metal, for the same reason. The outside parts, that you touch and see, are...
In order to be magnetic it has to have iron in it. Copper and iron a separate elements. In the wire making world, iron is not added to the copper. However, there are alloys out there that do have copper/iron in solution together and will be slightly magentic.Like some grades of welding/brazing rods have these alloys. Copper wire used in electrical work is not magnetic. Same goes with Stainless steel.