Array Programs

C++ program of defining array

Defining array

This program illustrate the concept of defining array.It is program of single dimensional array.

  • Array store the elements in contiguous memory location.
  • The array size must be a integer type and it should be greater than 0.
  • In array the lowest address indicate the first element and the highest address indicate the last element.
  • Picture repersentation of array
  • defining array

OUTPUT:-

defining array


Comment below if you are facing any problem


Also read

C++ program to Enter Elements of your choice in array
C++ Program to find the Largest element in the array
C++ Program to search a Element in Entered array