Unformatted text preview: fclose(dataFile); 4) long factorial(int k){ if(k == 0) return 1; else return k * factorial(k1); } int main(){ long x; x = factorial(2); return 0; } What is the value of x right before this program exits? [2 points] 2 How many times will the factorial function be called? [2 points] 3...
View
Full
Document
This note was uploaded on 08/29/2011 for the course CIS 209 taught by Professor Aren during the Spring '11 term at Kansas State University.
 Spring '11
 aren

Click to edit the document details