Hi,
my program stops with a buffer overflow error, but i can't understand the problem. I have a file like:
int array[n]; //global variable
void func(){
int i;
for(i=0;i<n;i++)array[i]=-1;
...
}
I had the error when i added the array initialization.
the file is a part of a C project. What buffer overflow is due to?
thanks