In Fig. 12.10 is a C program with two function pointers, p and q. N is a constant that could be less than or greater than 10. Note that the program results in an infinite sequence of calls, but that is of no concern for the purposes of this problem.a) Identify all the call sites in this program.b) For each call site, what can p point to? What can q point to?c) Draw the call graph for this program.! d) Describe all the call strings for / and g.
Fig. 12.10
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here