MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / factorial

Function factorial

math/factorial.cpp:29–37  ·  view source on GitHub ↗

* @brief function to find factorial of given number * @param n is the number which is to be factorialized * @warning Maximum value for the parameter is 20 as 21! * cannot be represented in 64 bit unsigned int */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

testsFunction · 0.85

Calls

no outgoing calls

Tested by 2