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.
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
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