Home » C++ Programming » Exception Handling » Question
  1. What will happen when we move to try block far away from catch block?
    1. Increases the amount of code in cache
    2. Don’t alter anything
    3. Reduces the amount of code in cache
    4. All of above
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.