how does the ampersand(&) sign work in c++? [duplicate]
Possible Duplicate: What are the differences between pointer variable and reference variable in C++? This is confusing me: class CDummy { public: int isitme (CDummy& param); }; int CDummy::isitme (CDummy& param) { if (¶m == this) { return true; //ampersand sign on left side?? } else { return false; } } int main () { CDummy a; CDummy* b = &a; if ( b->isitme(a) ) { cout << "yes, &a is b"; } return 0; } In C & usually means the address of a var. What does it mean here? Is this a fancy way of pointer notation? The reason I am assuming it is a pointer notation because this is a pointer after