The correct option is (c) class student{int a; public: void disp(){ cout<<a;} };
The explanation is: It is the class which uses both the data members and member functions being declared inside a single unit. Only data members can be there in structures also. And the encapsulation can only be illustrated if some data/operations are associated within class.