Programming Languages
C
Objective
Mar 08, 2013
What will be output of the following c code?
void main()
{
char *url="c:\tc\bin\rw.c";
printf("%s",url);
}
Detailed Explanation
1. \t is tab character which moves the cursor 8 space right.
2. \b is back space character which moves the cursor one space back.
3. \r is carriage return character which moves the cursor beginning of the line.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts