ANSWERS: 1
  • From a compiler writer's perspective, languages with nested functions are harder to write because the addressing of local variables gets more complicated. You need what are sometimes called "static links" or "uplevel references". The designers of C were trying to keep it simple, and this is one thing they eliminated to achieve that goal.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy