cout is defined in C++ in such a way that when it gets an a pointer to character , it prints not the address but the data at the location i.e. for all other pointer types , cout simply prints the address. What does its mean @tarunluthra
Between 30:00 minutes
@Nikhil-Aggarwal-2320066674901389
Refer to this example code - https://ide.codingblocks.com/s/106961
I believe it should clear your doubts.