Practical C pp 185-205 | Cite as

Dynamic Arrays

  • Giulio Zambon


The size of arrays in C is set at compile time. In the previous chapter, you learned a way of defining dynamically allocated C strings, which are arrays of characters. In this chapter, you will see how you can define at runtime arrays of any type. If you haven’t read Chapter 6, I suggest that you quickly go through it, so that you can use it as a reference for this chapter.


Array Element Word Alignment Dynamic Array Dynamic String Input Array 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Giulio Zambon 2016

Authors and Affiliations

  • Giulio Zambon
    • 1
  1. 1.HarrisonAustralia

Personalised recommendations