Discussion :: Testing New
-
Determine the Final Output:
void main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}
Answer : Option D
Explanation :
\n - newline - printf("\nab"); - Prints ab
\b - backspace - printf("\bsi"); - firstly '\b' removes 'b' from 'ab ' and then prints 'si'. So after execution of printf
Be The First To Comment