Answers

Question and Answer:

  Home  C++ Static Data

⟩ What is local class in C++?

Local class is define within the scope of a function and nested within a function.

E.g.

int func1()

{

class localclass1

{.....};

}

 272 views

More Questions for you: