Hi,
I was trying to execute the following code which was given in an instruction.
However, the program crashes every time I try to execute it.
What is the largest int value that can be represented?Code:#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int nb = 4194304; int arr[nb]; int i=0; for(i=0; i<nb; i++) arr[i] = i; system("PAUSE"); return 0; }