Quote Originally Posted by vikuseth
But one thing i want to know is we have not declared hello as constant (Hello *const hello ) inside Hi class , then how Testing member function will take it as constant pointer .
Because the object that owns the pointer is const in that context.