Bounds checking

In computer programming, bounds checking is any method of detecting whether a variable is within some bounds before it is used. It is usually used to ensure that a number fits into a given type (range checking), or that a variable being used as an array index is within the bounds of the array (index checking).

Source: Wikipedia — Bounds checking (CC BY-SA 4.0)

Bounds checking

In computer programming, bounds checking is any method of detecting whether a variable is within some bounds before it is used. It is usually used to ensure that a number fits into a given type (range checking), or that a variable being used as an array index is within the bounds of the array (index checking).

Source: Wikipedia "Bounds checking" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy