What is maximum upper limit for the decleration of an array in C
#include<limits.h>
#define MAX_LEN 2147483647

long long int a[MAX_LEN];

Error
Line 57: Char 5: runtime error: index 2147483647 out of bounds for type 'long long int [1000000]' (solution.c)

Comments (0)