C++ Static Data Question:
What is local class in C++?

Answer:
Local class is define within the scope of a function and nested within a function.
E.g.
int func1()
{
class localclass1
{.....};
}
E.g.
int func1()
{
class localclass1
{.....};
}
Previous Question | Next Question |
What is reference variable in C++? | What is static class data? |