Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私たちは皆、このためのプログラムを知っています
int fact(int n) { if(n==0) return(1); return(n*fact(n-1)); }
しかし、私にははっきりしないのは、内部のことがどのように起こっているのかということです?
計算方法5*4*3*2*1 (n が 5 の場合)
5*4*3*2*1
これについて明確な説明をお願いします。
ありがとう.....