Home Segments Index Top Previous Next

Chapter 24:

How To Define Constructor,
Reader, and Writer Functions

In this chapter, you learn that constructors are functions that enable you to initialize the structure variables in new structure objects. You also learn that reader and writer functions can help you to refer to structure-variable values and to assign values to structure variables subsequent to initialization.