how i can find size of dynamic array in c++

how i can find size of dynamic array in c++?
You can't. You have store it somewhere when you allocate the array. Or use a vector..
Topic archived. No new replies allowed.