int main()

{

const int num = 12;


const int *p = #

const int &ref = *p;


cout << p << endl;

cout << ref << endl;


return 0;


}


이거와


int main()

{

const int num = 12;


const int *p = &num;

const int *&ref = p;


cout << *p << endl;

cout << *ref << endl;


return 0;


}


차이점은 ? 결과는같이 나오네요 ㅠ