0

Can we print pseudo address of integer or double variable?

27th Sep 2016, 5:06 PM
Nick Silicon
Nick Silicon - avatar
2 Antworten
+ 2
Not sure what he means Zen, but your code is C++. I believe his question is about Java.
7th Jan 2017, 4:41 PM
Daniel Stanciu
Daniel Stanciu - avatar
0
What do you mean by "pseudo address"? Simply the address? #include <iostream> using namespace std; int main() { int n; double d; cout << hex << &n << endl; cout << hex << &d << endl; return 0; }
27th Sep 2016, 7:37 PM
Zen
Zen - avatar