In programming, brackets (the [ and ] characters) are used to enclose numbers and subscripts. For example, in the C statement
int menustart [4] = {2,9,15,22}; the [4] indicates the number of elements in the array, and the contents are enclosed in curly braces. In the C expression,
if (ABCbuff [501] == '\x1'), the [501] indicates the 501st byte of the ABC buffer (starting with 0). See also
bracketing.