What happens if a recursive function never reaches a base case?

a. the function returns the correct value
b. the function returns an incorrect value
c. the function terminates immediately
d. an infinite sequence of recursive calls occurs


d. an infinite sequence of recursive calls occurs

Computer Science & Information Technology

You might also like to view...

What is always produced by a review, regardless of whether it is informal or formal?

A. Audit details B. Action items C. Configuration changes D. Software components

Computer Science & Information Technology

We wish to write a destructor for a class called Bar. The function prototype for the destructor would look like this:

A. ~Bar; B. destructor( ); C. ~destructor( ); D. ~Bar( );

Computer Science & Information Technology

Which option in the Render Image section of the Copy dialog box in the accompanying figure would you click to create a file to be used on a Web page?

A. For scanner B. For printer C. To GIF image file D. None of the above

Computer Science & Information Technology

Clicking the _____ box completes an entry.

A. Cancel B. Formula C. Enter D. Tab

Computer Science & Information Technology