Monday, March 22, 2010

References to Arrays

A pointer to an array does not preserve the array bound information, but a reference to an array does.

Reference: "C++ Gotchas" by Stephen C. Dewhurst. Addison-Wesley, 2002., p. 12.

No comments:

Post a Comment