Nesting (computing)

From Wikipedia, the free encyclopedia

Nesting refers to using parentheses inside parentheses, or braces inside braces, etc. There can be nested program loops, for instance, which are a loop within a loop.[1] Nesting loops can be used, for instance, to print a two-dimensional table or print the average mark of several exams.[2] Brace matching is sometimes used to help keep track on what is going on in a complicated nesting arrangement.

[edit] References