At 1:20, what does it mean by changing the base of the number from 10 to 16.
CPP - Address Of Operator
hello @yajurkhurana
there are many notations for displaying a number.
the notation that we use is decimal notation i,e base 10.
similarly we have hexa decimal notation , binary notation etc.
here when we are printing cout<<&x; then &x will return address of variable x . and it will be printed in hexadecimal notation (base 16).
so bhaiya was just saying that instead of showing result in base 10 it will show in base 16 .
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.