Root vs root data node

if i am print root->data then print integer value if take data as a integer but if i am return or print only root then what is happen ??

hello @vishal_sangal_123

it will print address of root node. becuase root is a pointer

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.