結果 : declare function in function c++