Swipe to navigate through the chapters of this book
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.
Please log in to get access to this content
To get access to this content you need the following product:
- Dynamic Arrays
- Sequence number
- Chapter number
- Chapter 7