can we declare 2d array of dimension pow(10,6) * pow(10,6) in c++ ???
if not then is there any method to create ???
Max_size of 2d array
Actually it depends on the compiler and the operating system. But for contests and problem solving in online judges, for 1-D array, you shouldn’t do more than arr[10^6] and for 2-D array, above arr[10^4][10^4] is not ideal.