Write the statement to read and consume one character stored in the cin object.
What will be an ideal response?
cin.ignore();
or
cin.ignore(1);
Computer Science & Information Technology
What will be an ideal response?
cin.ignore();
or
cin.ignore(1);