Skip to content

DS : Static Arrays

Vidhatha Vivekananda edited this page Aug 18, 2020 · 1 revision

Arrays are static containers used to store objects of the same datatype.

Syntax:

array<object_type, array_size> array_name;

Member Functions

Element access

Function Description
at access specified element with bounds checking
operator[] access specified element
front access the first element
back access the last element
data direct access to the underlying array

Iterators

Content Cell | Content Cell

Table of Contents

  1. Home
  2. Data Structures
    1. Static Arrays
  3. [Algorithms] [algorithms]
Clone this wiki locally