Friday, July 31, 2009

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 ?

What is the maximum size of array ? in c programming?
I don't see how you could access elements in an array past MAXINT. (Using array syntax.)





So the practical answer is MAXINT.
Reply:The size of array is limited by amount of memory and there is no hardcoded limit put by compiler.
Reply: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.
Reply:In C size of array is bounded by amount of memory that specifies to program at executon time.

flowers online

No comments:

Post a Comment