go to previous page   go to home page  

Answer:

No, I didn't mean that! I meant to say useful and interesting.

Here is my list of things that you might like to try:

  1. Put statements in the print subroutine that alter data in the struct.
  2. Write a subroutine that copies data from one struct to another. The subroutine will have two arguments, the address of each struct.
  3. Write a subroutine that swaps the values of two structs.
  4. Put more fields in the struct and modify all the routines.

End of Chapter

Click on one of the following links to go to its discussion.


go to previous page   go to home page