How to calculate exact amount of memory used in dynamic array in c++

85 pts.
Tags:
Arrays
Number of dimensions and size of each dimension should be passed as Create function which calculates exact amount of memory used by dynamic multidimensional array of char elements parameters.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Thank you for visiting ITKE.

We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Michael Tidmarsh
    Welcome to ITKE, m8. If you could provide more information on your problem, then our experts should be able to answer it.

    For more information on how the community works, check out our FAQ.
    30,910 pointsBadges:
    report
  • TomLiotta
    To discuss homework (or interview) questions, we first need to see the work that you have done yourself. Then we can discuss any problems you are running into. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following