What is the difference between these two?? The first gives you the address of the pointer, yes? What is the second?
C++
int *mypointer;
cout << &mypointer << endl;
cout << mypointer << endl;What is the difference between these two?? The first gives you the address of the pointer, yes? What is the second?
int *mypointer;
cout << &mypointer << endl;
cout << mypointer << endl;Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Rajanikant HawaldarRank #107 · 20.6K reputationPosted Jul 14, 2021, 2:16 AM EDT
Rajanikant HawaldarRank #107 · 20.6K reputationPosted Jul 12, 2021, 11:58 AM EDT
Suri104 reputationPosted Jul 13, 2021, 1:01 PM EDT