When i use << operator to put values in buffer sometimes the address of buffer changes. does it copy the values to new address or move them to a new address in memory and how can i know the address where data is stored in?
Also, I'd be interested in a book that covers about streams in c++.