Beispiel Statische/Dynamische Kette

Wie verläuft der Aufruf f (3)?

int f (int x) {
  int g (int y) { return x + y; }
  int h (int x) { return g (g (x)); }
  return h (2);
}



Johannes Waldmann 2006-02-02