|
When I ran a program on Linux,an error occurred.It printed "segmentation fault".
I want to know what segement fault is,is it the error of my pointers?
I think it is at least a little about it.But in the following fragement:
int main(void){
state;
...
printf("result is :%d",result);
return 0;
}
Though the result is very right,it also printed"segmentation fault".Why??? |
|