Error in code of large number factorial (Segmentation Fault (SIGSEGV))

Please either format your code (all of it, please!) or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

And please link to the Problem you’re trying to solve.