Programming in C: Unit II (a): Arrays

Applications of Arrays

Programming in C

Arrays are widely used to implement mathematical vectors, matrices, and other kinds of rectangular tables.Many databases include one-dimensional arrays whose elements are records.

APPLICATIONS OF ARRAYS

• Arrays are widely used to implement mathematical vectors, matrices, and other kinds of rectangular tables.

• Many databases include one-dimensional arrays whose elements are records.

• Arrays are also used to implement other data structures such as strings, stacks, queues, heaps, and hash tables. We will read about few of these data structures in the subsequent chapters.

• Arrays can be used for sorting elements in ascending or descending order.

Programming in C: Unit II (a): Arrays : Tag: : Programming in C - Applications of Arrays