If I assign the address of a variable to int variable

If I assign the address of a variable to int variable, and then output it, will I still get result in hexadecimal form?
Eg.
int x=10;
int address=&x;
cout<<address;

//What will be the output?

hello @Ayush280301
compiler will give errors because of invalid conversion.

int addresss=&x;
here &x will give address but address is integer variable ie compiler will only allow integer value in it…
u need to declare address as pointer and then it will work.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.