#include<iostream>
class Test;
void fun(Test *t);
class Test{
public:
int a;
int b;
void call()
{
fun(this);
}
};
void fun(Test *t)
{
printf(" t->a:=%d ", t->a);
}
int main(int argc, char *argv[])
{
Test test;
test.a = 1;
test.b = 2;
test.call();
return 0;
}