What will be printed after execution of the following program code?

0 like 0 dislike
asked May 4, 2017 in Education by Yesha (81 points)

What will be printed after execution of the following program code?

main()
{
      printf("\\nab"); 
      printf("\\bsi"); 
      printf("\\rha"); 
}

A.absiha

B.asiha

C.haasi

D.hai

E.None of these

3 Answers

0 like 0 dislike
answered May 5, 2017 by priya (50 points)
\\nab\\bsi\\rha
0 like 0 dislike
answered May 5, 2017 by Soham (508 points)
\nab\bsi\rha will be displayed

so the answer is d) none of this
commented Feb 23, 2018 by Girish
Haasi
/n gives new line
/b gives backspace
/r gives carriage return
0 like 0 dislike
answered Sep 2 by anonymous
Jsjiqqkozoawmdoshja
Make sure your Question & Answer should be appropriate and useful to the reader. Don't just copy and paste content from other sources.
...