Google News
logo
CPP - Quiz(MCQ)
What will happen when we move the try block far away from catch block?
A)
Don't alter anything
B)
Increases the amount of code
C)
Reduces the amount of code in the cache
D)
Increases the amount of code in the cache

Correct Answer :   Reduces the amount of code in the cache


Explanation : Compilers may try to move the catch-code far away from the try-code, which reduces the amount of code to keep in the cache, thus it will enhance the overall performance.

Advertisement