[code:1]
#include <stdio.h>
#include <conio.h>
#include <typeinfo>
class B
{
int j;
public:
void hello()
{
printf("B's hello %u == %s \n" ,
this , typeid(this).name());
}
void show()
{
printf("%s\n" , typeid(this).name());
hello();
}
};
class C : public B
{
int k;
public:
void hello()
{
printf("C's hello %u == %s \n" , this , typeid(this).name());
}