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 simply a coil of wire. It is usually wound around an iron core. However, it could be wound around an air core, in which case it is called a solenoid. When connected to a DC voltage or current source, the electromagnet becomes energized, creating a magnetic field just like a permanent magnet.n electromagnet is simply a coil of wire. It is usually wound around an iron core. However, it could be wound around an air core, in which case it is called a solenoid. When connected to a DC voltage or current source, the electromagnet becomes energized, creating a magnetic field just like a permanent magnet.