+ 1
Can we define a function inside a function?
What happens when we define a function inside a function?
2 Answers
+ 11
Nested functions have been discussed to be implemented into C++, but the proposal was rejected long ago. Hence, you cannot have a function declaration inside another function.