

MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your C knowledge and support exam preparation. Choose a topic below to get started.
1. |
Choose the correct statement which makes exception handling work in C#.NET? |
A. | .Net runtime makes search for the exception handler where exception occurs |
B. | If no exception is matched, exception handler goes up the stack and hence finds the match there |
C. | If no match is found at the highest level of stack call, then unhandledException is generated and hence termination of program occurs |
D. | All of the mentioned |
Answer» E. | |
2. |
When is no exception thrown at runtime then who will catch it? |
A. | CLR |
B. | Operating System |
C. | Loader |
D. | Compiler |
Answer» B. Operating System | |
3. |
12345 |
A. | 123450 |
B. | 1234500 |
C. | Compile time error |
Answer» D. | |
4. |
1234 |
A. | 12345 |
B. | Run time error |
C. | 12345B |
Answer» C. 12345B | |