Computer Science, asked by vivek20adhikari, 21 hours ago

what is nested class in c++ ?​

Answers

Answered by aninditak321
2

Answer:

A nested class is a class that is declared in another class. The nested class is also a member variable of the enclosing class and has the same access rights as the other members. However, the member functions of the enclosing class have no special access to the members of a nested class.

Similar questions