Writing

C++ Array

Array are index based from 0. linear collection of elements in a continous memory. Element should be of the same type. Get memory location of each type. Add elements in an array. Charcter array alw…

1 min read50 wordsdatastructures

C++ Array

  • Array are index based from 0.
  • linear collection of elements in a continous memory.
  • Element should be of the same type.

Operation

  1. Get memory location of each type.
  2. Add elements in an array.
  3. Charcter array always contains a null terminator.

Last updated on May 15th, 2025