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...
The electrical wires on high voltage pylons are generally aluminium, although it is a poorer conductor than copper it is much lighter so can be thinner to support it's own weight. Wires used on suspension bridge cables are steel. Also, wires used as filaments in light bulbs are made from tungsten.