C Programming MCQ - Functions & Recursion

31:   Running out of memory may occur due to
A. Non-recursive call
B. Recursive function call
C. Use of more extern variable
D. None of these
 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



32:   Which of the following is not a primitive recursive but partially recursive?
A. Carnot's function
B. Ricmaan function
C. Both (a) and (b)
D. Ackermann's function
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



33:   When a function is recursively called, all automatic variables
A. Are initialized during each execution of the function
B. Are retained from the last execution
C. Are maintained in a queue
D. None of these
 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



Related MCQ