In a way, passing an array as argument always loses a dimension. The reason behind is that, for historical reasons, arrays cannot be directly copied, and thus what is really passed is a pointer. This is a common source of errors for novice programmers.
atomic number represents the protons in atom. As a example hydrogen has one proton and atomic number is 1.
Element showing its atomic number and mass number. Atomic number is used to define the type of element a material or substance is. It is the number of protons present in an elementâs nucleus. The atomic mass, on the other hand, is the number of both the protons and neutrons present in the nucleus of the element. Electrons do not usually weigh much, so the atomic mass is calculated by adding the number of protons to neutrons. It is also referred to as the atomic weight.