Bruce Eckel's Thinking in C++, 2nd Ed | Contents | Prev | Next |
answers:
A:
A: The semicolon indicates the end of all object definitions for this particular structure. If the semicolon isn't there, the next name the compiler sees it will assume is the definition of an object of that structure type.
new float[rows][] . This must be followed by multiple calls to new in order to create all the storage for the rows. Write a second function that takes this “matrix” and frees the storage using delete. Now convert the code into a struct called matrix.