I
I_have_nothing
Hi!
I am new in C. I got a lots of "Segmentation Fault"s in my code.
I guess One possibility is:
if " int array_i[10]; " is declard and the code trys to access
"array_i[10]",
a Segmentation Fault will be returned by gcc compiler on linux.
What are the other "major" reasons to have "Segmentation Fault"?
I hope this is not a stupid question and someone is will to give me
some exampls(part of code) with errors a newer might esasily make and
then gets "Segmentation Fault".
Thank you so much!
I am new in C. I got a lots of "Segmentation Fault"s in my code.
I guess One possibility is:
if " int array_i[10]; " is declard and the code trys to access
"array_i[10]",
a Segmentation Fault will be returned by gcc compiler on linux.
What are the other "major" reasons to have "Segmentation Fault"?
I hope this is not a stupid question and someone is will to give me
some exampls(part of code) with errors a newer might esasily make and
then gets "Segmentation Fault".
Thank you so much!