How to fix segmentation fault
dnielletorres (11)

This is my first attempt at C and I am having trouble with this specific error and I don't know where to fix it.

You are viewing a single comment. View All
[deleted]

Try checking your arrays
A segmentation fault (from what I understand of) is ussualy caused by something wrong with the memory of the program
like int array[1] = {2}, and you calling array[420]