Regarding pointers

In pointer’s video sir told that :
int x = 10;
int * xptr = &x;
than &x and xptr will both give same output but when I compiled the program it is not giving me the same output . Can you tell me why ??https://ide.codingblocks.com/s/440342

Hello @sarthak_singhal & this is used the get the address and then this address can be stored in the pointer which you have made like above:
check this:

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.