class Name { private: int data; public: // Constructor Name() { // Code } int id; void fun1(int a) { // Some instructions here } }

class in c++

Similar Code Examples