What is the output of code?
    #include iostream
using namespace std;
int main( )
{
char line[8];
cin.getline( line, 8, 'g' );
cout line;
return 0;
}

Posted on by