Another of internet giant Amazon's technical written test question. This question tries to make filter out candidates who have come to attend the examination after reading refreshers of C language. Delve into your K&R's to figure it out.
main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}
Hints:
\n - newline
\b - backspace
\r - linefeed
.
.
.
.
Solution coming soon !!
The hints should have been enough.
ReplyDeleteThe answer is " hai "