DWiki /
Nested Functions
Functions may be nested within other functions:
int bar(int a)
{ int foo(int b) { int abc() { return 1; } return b + abc(); } return foo(a); }void test()
{ int i = bar(3); // i is assigned 4 }See also /FunctionLiterals.
(From DWiki)