CPA-21-02 Web TestEngine demo

Exit VCEDump CPA-21-02 CPA - C++ Certified Associate Programmer
Question 31 of 39
0% complete
Q31 Single choice

What is the output of the program if characters 't', 'e', 's' and 't' enter are supplied as input?

#include <iostream>

#include <string>

using namespace std;

int main()
string s;

getline( cin, s );

cout << s << " " << s.length();

return( 0 );

}

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in