zhmt:

Will arr.ptr change in the future?

As the array add more members , it need more memroy, then remalloc may be called, the pointer maybe change, then the stored pointer will be invalid.

Will this happen?

Yes, it can happen.

Bye,
bearophile

Reply via email to