append() c++ code example Example: c++ append Extends the string by appending additional characters at the end of its current value