August 2024
Intermediate to advanced
792 pages
22h 45m
English

In this chapter, you’ll implement array types. You’ll also add the main language features that programmers use to work with arrays: compound initializers, subscript operators, and pointer arithmetic. Arrays and pointers are distinct but closely related types. Many expressions of array type are implicitly converted to pointers, and many pointer operations, like subscripting, are meant to operate on pointers to array elements. So, to support arrays, you’ll build on the support for pointers that ...
Read now
Unlock full access