Arrays Array is a sequence of datatypes i.e. int, float, char, etc. stored within square bracket such that each item is separated by ‘,’ (comma) operator. Each item of array are stored in the memory in continuous order. Declaration syntax: data_type array_name[ size_of_array ];
Eg:
int primeNumbers[10]; Ways of declaring arrays : …