C++ Static Data Question:
Download Questions PDF

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
{.....};
}

Download C++ Static Data Interview Questions And Answers PDF

Previous QuestionNext Question
What is reference variable in C++?What is static class data?