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...
An electromagnet is a device that acts like a magnet, but its magnetic force is manifested and controlled by electricity. When wire made of conducting material (copper, for example) moves through a magnetic field, current is created in the wire (a rudimentary generator).