#include<iostream>
using namespace std;
class Student
{
string name;
public:
Student(){
name = "Vaibhav Yadav";
cout<<"Constructor of Student Class has been Called"<<endl;
cout<<"Student Name is: "<<name<<endl;
}
~Student(){
cout<<"---Destructor Of Student Class has been called---"<<endl;
cout<<"---Memory for 'obj name' has been deallocated and memory has been released---"<<endl;
}
};
main()
{
Student stu;
return 0;
}