@SameerThigale - Are you asking Cubbi? Please use @Cubbi if you're not responding to the OP.
As Cubbi implied, std::string keeps track of of how long a string is, so the trailing null character is not required. Any operation on (manipulation of) std::string objects implicitly knows how long each string object is. This is not true of C character strings.