Regarding array size possible

What is the maximum limit of array size that we can create ??

Hey @hemanthswarna1506
If you’re intializing your array with

 int myArray[SIZE] 

then SIZE is limited by the size of an integer. But if you allocate an array dynamically (the limit is large then SIZE is limited only by OS/Hardware

int* a1 = new int[SIZE];  

if this solves your doubt , please mark it as resolved :slight_smile: