Why does gets(stdin) return an integer? And other errors [duplicate]
问题 This question already has answers here : What is going on with 'gets(stdin)' on the site coderbyte? (3 answers) Closed 4 months ago . I am new to C programming (although I have experience with Java). After reading some tutorials, I decided to start solving coding challenges on Coderbyte. The first challenge I tried was this one: Challenge Have the function FirstFactorial(num) take the num parameter being passed and return the factorial of it. For example: if num = 4, then your program should