Introduction to Arrays as a Datatype
An array is not really a datatype, but a collection of variables, (usually) of the same type. However, arrays are handled differently in different languages. Sometimes they act as an object, and thus there is an Array Class, sometimes it is a pointer to memory, usually their size is static, but not always. Each language…