I am trying to access member variables of a class without using object. please let me know how to go about.
class TestMem { int a; int b; public: Tes
Simple answer: Don't do it.
There just can not be any situation where you can justify accessing like this. There just has to be a different solution.