Functions – General Questions

1. The keyword used to transfer control from a function back to the calling function is

A. switch
B. goto
C. go back
D. return

Correct Answer: D. return
Advertisement

2. What is the notation for the following functions?

Screenshot 3

What is the notation for following functions

Correct Answer: Option C
Advertisement

3. How many times the program will print “GkFeed”?

How many times the program will print

A. Infinite times
B. 32767 times
C. 65535 times
D. Till stack overflows

Correct Answer: D. Till stack overflows
Advertisement

Leave A Comment?