Respuesta :

Defensive programing is a technique with which you try to prepare for all possible errors before they occur.

What is defensive programming?

  • Writing software in a defensive manner allows for continued operation both after and through unanticipated problems.
  • An easy example is making sure the software gracefully handles the condition of NULL after using malloc().
  • Defensive programming produces high-quality, error-proof code, but it might be challenging to create the source code. Your code will still function normally if defensive programming is not used.
  • Nevertheless, depending on the circumstance or user input, it could easily malfunction or produce false results.

Learn more about the programming language with the help of the given link:

https://brainly.com/question/23959041

#SPJ4

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE