What will happen when we move try block far away from catch block?
A. Reduces the amount of code in cache
B. Increases the amount of code in cache
C. Don’t alter anything
D. None of the mentioned
Answer:A
What will happen when we move try block far away from catch block?
A. Reduces the amount of code in cache B. Increases the amount of code in cache C. Don’t alter anything D. None of the mentioned
Explanation:compilers may try to move the catch-code far away from the try-code, which reduces the amount of code to keep in cache normally, thus enhancing performance.