top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the maximum size of an integer array in C?

+2 votes
545 views
What is the maximum size of an integer array in C?
posted Feb 20, 2019 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+2 votes

There is no fixed limit of size of an integer in c.

It depends upon machine.

@ifour TechnoLab Pvt. Ltd.

answer Mar 17, 2019 by Rushabh Verma R.
+1 vote

Hi,

the maximum size of array is limited by the amount of memory a program can access, so if you have 32bit machine then it can access 2^32 which is roughly 4GB, similarly for 64bit machine it will be 2^64

answer Mar 7, 2019 by Sushant Bose
...