I just started learning C and I keep coming across Segmentation Fault, something I am glad I haven't had to deal with in other languages, but here I am. I am trying my best to look into SegFault online but I will be honest, I can barely understand it. (This might also come from my lack of knowledge on pointers that I am trying to refine) If anyone can point out where exactly the problem might be, and exactly why it's a problem that would be amazing. I have spent way too long over this and at this point I am getting burnt out but I don't want to just give up so I came here.
Also I am currently waiting to hear back from JetBrains to get clion working for me so atm I am using the Git Bash shell which imo looks terrible, I apologize.