O'Reilly logo

C Programming for Scientists and Engineers with Applications by Reddy

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

10

Pointers and Dynamic Storage

10.1 Concept of a Pointer

10.2 Address and Pointer Arithmetic

10.3 Pointers and Arrays

10.4 Dynamic Storage and Arrays

10.5 Character Strings and Pointers

10.6 Sample Programs

Chapter Summary

Exercises

Objectives

Understand the concept of pointer variables and their use in the manipulation of data and the dynamic allocation of storage space for data.

In the chapter on arrays, we saw that the array name has the address of the array as its value. Also the ad -dress operator “&” has been introduced and used in calls to system and user input functions so that the input data could be placed directly in the program variables. Now it is time to introduce a form of variables designed to have addresses as their ...

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