The printed data with default setting by the I/O function of the language is known as unformatted data.
It is the basic form of input/output and transfers the internal binary representation of the data directly between memory and the file.
For example, in cin statement it asks for a number while executing. If the user enters a decimal number, the entered number is displayed using cout statement. There is no need to apply any external setting, by default the I/O function represents the number in decimal format.
In C++, we can read the input entered by a user at console using an object cin of istream class and through this object we can access the functions of istream class, such as - get(char *), get(void) and getline().
In C++, we can write the output at console using an object cout of ostream class and through this object we can access the functions of ostream class, such as - put(), write().