S
Sheldon
Hello,
Can someone please tell me why this program causes a segmentation
fault:
#include <stdio.h>
#include <stdlib.h>
#define ROW 1215
#define COL 1215
#define FILENAME "/data/aux/test_array.dat"
int main(void)
{
double tmp[ROW][COL];
FILE *fp;
int i, j, data;
float count;
printf("Opening file: %s\n",FILENAME);
return 0;
}
Can someone please tell me why this program causes a segmentation
fault:
#include <stdio.h>
#include <stdlib.h>
#define ROW 1215
#define COL 1215
#define FILENAME "/data/aux/test_array.dat"
int main(void)
{
double tmp[ROW][COL];
FILE *fp;
int i, j, data;
float count;
printf("Opening file: %s\n",FILENAME);
return 0;
}