C++ Static Data Question:

What is local class in C++?

Tweet Share WhatsApp

Answer:

Local class is define within the scope of a function and nested within a function.
E.g.
int func1()
{
class localclass1
{.....};
}

Download C++ Static Data PDF Read All 17 C++ Static Data Questions
Previous QuestionNext Question
What is reference variable in C++?What is static class data?