1.

Consider the following c function definition: int f(int j) { static int i=50; int k; if(i==j) { printf("something "); k=f(i); return 0; } else return 0; } Which of the following is TRUE? A)the function returns 0for all values of j. b)the function prints the string something for all values of j. c)the function returns 0 when j=50. d)the function will exhaust the runtime stack or run into an infinite loop when j=50.

Answer» UNCTION will EXHAUST the runtime STACK or run into an infinite LOOP when j=50.


Discussion

No Comment Found