Answers/Solutions to Exercises in Chapter 4, Exercise 8

E8: Can we use free(p) if previously p was set by a call to realloc() --- p=realloc(p,...)?

A8: Yes, any of the allocation standard functions can be used.

Back to Answers/Solutions Index                          Back to Answers/Solutions for Chapter 4 Index