Learners Only
Monday, 21 November 2011
Predict the output or error(s) for the following:
main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}
Answer:
hai
Explanation:
\n - newline
\b - backspace
\r - linefeed
3 comments:
Issac Maez
3 March 2013 at 03:35
Reply
Delete
Replies
Reply
Landscaping Toronto
3 March 2013 at 03:35
Reply
Delete
Replies
Reply
Gudrun
3 March 2013 at 03:35
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
3 comments: