MCQs
In this program, We are printing the five spaces and then we are printing the value of 65.
In this program, We are printing the hexadecimal value of the given decimal number by using hex function.
If you construct an object of class ostream, you must specify a streambuf object to the constructor.
There are three output stream classes in c++. They are ostream, ofstream and ostrstream.
cin will stop its extraction when it encounters a blank space.
We are not allowed to do addition operation on cin.
There are three parameters in getline function. They are a pointer to an array of characters and maximum number of characters and a delim.
In this program, We are printing the input what we read from cin.
After pressing return key
If a user wants to input a sentence with blankspaces, then he may use the function getline.