Exforsys
+ Reply to Thread
Results 1 to 4 of 4

What is the Limitation

This is a discussion on What is the Limitation within the C and C++ forums, part of the Programming Talk category; Is there any limitation on the maximum number of elements for an integer array in C programming language? If so ...

  1. #1
    Adrian is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    What is the Limitation

    Is there any limitation on the maximum number of elements for an integer array in C programming language? If so what is that and what happens when this size exceeds.


  2. #2
    Allan is offline Member Array
    Join Date
    May 2006
    Answers
    40
    Actually the maximum size for an integer array in C programming language varies from each machine to machine and also varies depending on the memory.


  3. #3
    blenda is offline Member Array
    Join Date
    May 2006
    Answers
    36
    Friends for C++ the maximum size of the c++ array are fifty. In other words the maximum number of elements that can be stored in C++ array is fifty.


  4. #4
    priyaraji is offline Member Array
    Join Date
    Apr 2006
    Answers
    52
    If you have used malloc make sure to free the memory after its usage otherwise you might result with memory leaks.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...