[c++] Can we have functions inside functions in C++?