nested function
Hi!
Is there a concept of nested function in C++?
eg:-
1 2 3 4 5 6 7 8 9 10 11
|
class X
{
void input()
{
void disp()
{
code;
}
code;
}
};
|
i'll call input() in the main() and disp() will be automatically called.
thanks
Last edited on
No.
Topic archived. No new replies allowed.