96) What is the following code segment doing?
void fn( )
{
char c;
cin.get(c);
if (c != ‘
’)
{
fn( );
cout.put(c);
}
}
Answer is:
The string entered is printed in reverse order.
Related C Programming MCQ with Answers
Answer is:
it is assumed to be present and taken to the true
Answer is:
All of these
Explanation:
In for loop
* Index value is retained outside the loop
* Index value can be changed from within the loop
* Goto can be used to jump, out of the loop
Answer is: