O'Reilly logo

C Programming Essentials by S. K. Bandyopadhyay, K. N. Dey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Arrays

This chapter describes the representation of linear data structures by using one of the methods of sequential allocation of storage. Other methods of storage allocation will be discussed in the chapter on Pointers and Functions. Although the linear method of allocation is suitable for certain applications, there are many applications where this is found unacceptable. However, this method is widely used and helps in development of simpler programs. Initially, we focus on arrays in C, both single-dimensional and multi-dimensional, and then proceed to the different initialization techniques. Operations on matrices are introduced. Two types of sequential representations of multi-dimensional arrays are introduced. A string is not ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required