i have declared the following:
1)long long int *a[100000]//Global Declaration
2)dynammic Declaration of----a[i]=(long long int*)calloc(sizeof(long long int),100000);
for(i=0;i<100000;i++){
for(j=0;j<100000;j++)
printf("%lld ",a[i][j]);
printf("\n");
}
after going through the loop my program is showing segmation fault
does bcoz of declaring such long array dynammically i m getting RE (SIGSEGV);
bcoz of i m getting right ans of some of the test cases and RE (SIGSEGV) of some other test cases it means i m
not aacessing illegal memeory
I think The problem is with the declaration of an array of long long int of such larger size.