#include using namespace std; int main(void) { int i = 100; int& ref = i; int* p = &i; if (*p == ref && p == &ref) { cout << "C'est bon !" << endl; cout << "i=" << i << endl; cout << "ref=" << ref << endl; cout << "*p=" << *p << endl; cout << "p=" << p << endl; cout << "&ref=" << &ref << endl; } return 0; }