What happens if an exception occurs but is not caught by the program in C#?
A. The program terminates with an unhandled exception
B. The program continues execution
C. The program prompts the user for input
D. The program enters an infinite loop
Answer: Option A
Join The Discussion