Exforsys
+ Reply to Thread
Results 1 to 2 of 2

How to get the Size

This is a discussion on How to get the Size within the C and C++ forums, part of the Programming Talk category; I am starting my try with memory allocation dynamically in C programming language. I have a doubt namely how to ...

  1. #1
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97

    Question How to get the Size

    I am starting my try with memory allocation dynamically in C programming language. I have a doubt namely how to find at run-time the size of a dynamic memory allocation and this is an array. Kindly suggest some alternatives for achieving the size.


  2. #2
    Mukhtar Ahmad is offline Junior Member Array
    Join Date
    May 2007
    Answers
    12
    memory allocation dynamically is done by
    malloc() and calloc() functions in C language

    provide any example how you want the memory allocation dynamically?

    ................


Latest Article

Network Security Risk Assessment and Measurement

Read More...