C语言 用函数调用方法求1!+2!+3!+…+n!的和
http://zhidao.baidu.com/question/1429140027038627899.html?fr=iks&word=%D2%D1%D3%D0%C8%E7%CF%C2%BA%AF%CA%FD%B6%A8%D2%E5%2C%B5%F7%D3%C3%B8%C3%BA%AF%CA%FD%CA%B5%CF%D6%C7%F31%2B2%2B...%2B100+func+testFun%28n%3AInt%2Cclosure%3A&ie=gbk ——百度知道
-
); printf("the result is %d\n",result); return 0;}其中long factor(int n)函数就是直接求1!+2!+3!+…+n!的和...