Code:
#include <iostream>
using namespace std;
class MemObject
{
public:
int x;
int y;
MemObject()
{
cout<<"an object is created."<<std::endl;
}
Code:
#include <iostream>
using namespace std;
class MemObject
{
public:
int x;
int y;
MemObject()
{
cout<<"an object is created."<<std::endl;
}