- 3


return;

--------+ +-------- |=======================| | +-|---> return 2 * 1; | w = 2 | | n = 2 | |factorial(2) | |=======================| | +-|---> return 3 * factorial(2); | w = 3 | | n = 3 | |factorial(3) | |=======================| | +-|---> z = factorial(3); | z = | | y = 12 | +------+---------+ |main() | |x = 7 | v = 333 | +-----------------------+-----------+------+---------+-----

--------+ +-------- |=======================| | +-|---> return 3 * 2; | w = 3 | | n = 3 | |factorial(3) | |=======================| | +-|---> z = factorial(3); | z = | | y = 12 | +------+---------+ |main() | |x = 7 | v = 333 | +-----------------------+-----------+------+---------+-----

--------+ +-------- |=======================| | +-|---> z = 6; | z = | | y = 12 | +------+---------+ |main() | |x = 7 | v = 333 | +-----------------------+-----------+------+---------+-----

--------+ +-------- |=======================| | z = 6 | | y = 12 | +------+---------+ |main() | |x = 7 | v = 333 | +-----------------------+-----------+------+---------+-----

, /* C */ func(). /* #c */ .

--------+ +-------- |=======================| | x = 777; | |func(); | |=======================| | +-|---> func(); | z = 6 | | y = 12 | +------+---------+ |main() | |x = 7 | v = 333 | +-----------------------+-----------+------+---------+-----

- ? : func::x = 777 ::v = 333

. ::x . main::y, main::z ,




- -  - -  - -