bitPhile

Home

❯

notes

❯

tech

❯

c++

❯

Fixed and dynamic arrays

Fixed and dynamic arrays

Jun 15, 20261 min read

  • cpp
  • programming-language

A fixed-size array (fixed length) array is an array whose size is required to be known at the time of instantiation and can’t be changed later. For example, std::array and C-style arrays.

On the other hand, dynamic array is an array whose size can be changed later as and when required. For example, std::vector is a dynamic array.

References

  1. https://www.learncpp.com/cpp-tutorial/stdvector-resizing-and-capacity/

Graph View

Backlinks

  • Dynamic memory allocation introduction
  • std::array.
  • std::vector resizing and capacity

Created with Quartz v4.5.2 © 2026

  • Made with ❤️ by Nitin