info@avatto.com
+91-9920808017
0. What is the following code segment doing? void fn( ) { char c; cin.get(c); if (c != ‘\n’) { fn( ); cout.put(c); } }
The string entered is printed as it is.
The string entered is printed in reverse order.
It will go in an infinite loop.
It will print an empty line.
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.