What is meant by having error handling in code?(1 point)

Responses

The code should cater to multiple users at the same time.
The code should cater to multiple users at the same time.

The code should have comments and relevant variable names.
The code should have comments and relevant variable names.

The code should be able to guide the user in case of wrong input or action, instead of leading to a software crash.
The code should be able to guide the user in case of wrong input or action, instead of leading to a software crash.

1 answer

The correct response is:

The code should be able to guide the user in case of wrong input or action, instead of leading to a software crash.

This means that error handling involves implementing mechanisms to catch and manage errors gracefully, providing feedback to users and preventing unexpected program termination.