Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Danielle Torres

@dnielletorres
:-)
dnielletorres
dnielletorres
shared a Post
4 years ago
How to fix segmentation fault
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.
JubilantBriskGlitches
C
Stormcrest
Stormcrest
make the unsigned int into a regular int and it will work1 year ago
Keracz
Keracz
try first compile program, use gcc file1, file2 and ./a.out its work for me. i have the same problem when run program by press run button3 years ago
SyedShamsuddin
SyedShamsuddin
Factorials are hard to compute especially by using recursion , I believe changing the return value may increase your range of computability but otherwise stack overflow will lead to segmentation failure4 years ago