Extra variables lead to segmentation fault

segmentation fault c
how to fix segmentation fault
how to debug segmentation fault in c
valgrind segmentation fault
segmentation fault: 11
segmentation fault cs50
segmentation fault linux
terminal segmentation fault