#include < iostream. h > class Class { private: int val; public: void func( int a) { val = a; } }; void main() { Class * cls ; cls - > func(10) ; }