Saturday, July 16, 2011

How to find the size of a dynamic non-character array in C?

It's 10*sizeof(int). But unless you keep track of it yourself, that information is lost, it cannot be extracted from any kind of examination of a.

No comments:

Post a Comment