Basic pointer doubt

Why can’ t we treat the address of a variable like a string and store it in a string variable? Thereafter when we require the value we can pass that address into the indirection operator

Hey Girish!, there can be many arguments upon that, but if you see that a pointer on most machines is of 8 bytes!, even if you store it as a string, it will cost more space.
Now whenever you are referencing to a pointer’s value, you need actual hexadecimal value hence you cannot reference directly using string! So in all scenarios it is better to store address inside pointer variables.

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.