Data Structures :: Strings

Home > Data Structures > Strings > General Questions

1 / 2

 What is the following code segment doing?

void fn( ){
char c;
cin.get(c);
if (c != '\n') {
fn( );
cout.put(c);
}
}

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace


Tags:  Capgemini

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!