c++ access stuff out side the class [closed]

It’s public: and not Public:.

Because dd is part of A, you need an instance of A to access dd.

Browse More Popular Posts

Leave a Comment