結果 : declare a function inside a function c++