#I'm new to C and I couldn't figure out why I was gettting segmentation fault.
4 messages · Page 1 of 1 (latest)
Show your code
You're getting segmentation fault, because you are invoking an undefined behavior. Stop doing that, and the segmentation fault will disappear.
how did you try to debug?