11. |
The data structure used to implement recursive function calls _____
|
||||||||
Answer:
Option (d) |
12. |
What is the output?
main()
|
||||||||
Answer:
Option (a) |
13. |
What is the output?
main()
|
||||||||
Answer:
Option (c) |
14. |
What is the output?
int main() { printf("Hello"); main(); return 0; }
|
||||||||
Answer:
Option (b) |
15. |
Which of the following is true?
|
||||||||
Answer:
Option (b) |
16. |
What is the output of func(4);?
int func(int number)
|
||||||||
Answer:
Option (b) |
17. |
What is the output of func(3,8)?
int func(int a, int b)
|
||||||||
Answer:
Option (b) |
18. |
What is the output of print(12)?
void print(int n)
|
||||||||
Answer:
Option (a) |
19. |
What is the output of sum(8)?
int sum(int n)
|
||||||||
Answer:
Option (c) |
20. |
What is the output?
int rec(int num)
|
||||||||
Answer:
Option (c) |