Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

what is the maximum size of array ? in c programming?

means

int a[10];

where 10 is maximum or we can increase the size from 10 to how many digits we can incresase ?

4 Answers

Relevance
  • Lisa A
    Lv 7
    1 decade ago
    Favorite Answer

    I don't see how you could access elements in an array past MAXINT. (Using array syntax.)

    So the practical answer is MAXINT.

  • 1 decade ago

    The size of the array is not limited by the (C) language, but rather is limited by the amount of memory that is available on the computer.

  • 1 decade ago

    In C size of array is bounded by amount of memory that specifies to program at executon time.

  • 1 decade ago

    The size of array is limited by amount of memory and there is no hardcoded limit put by compiler.

Still have questions? Get your answers by asking now.