1. absiha
  2. asiha
  3. haasi
  4. hai
  5. None of these

Share with your friends
AhmedNazir

Call

Answer: Option 4

\\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("\\bsi"); it is 'asi'. \\r - linefeed - printf("\\rha"); - Now here '\\r' moves the cursor to the start of the current line and then override 'asi' to 'hai' .

Talk Doctor Online in Bissoy App