0

I was wondering why would someone use the At method to access a character at a particular index of std::string instead of a simple subscript operator?

like to access a character at the 3rd index we can simply use str[3] instead of str.At(3). Is there an advantage or disadvantage either of these posses?

0 Answers0