HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

new line and \ operator \n,\b,\r in c/c++

main()
{
printf(“\nde”);
printf(“\bcd”);
printf(“\rgo”);
}

Tutorial answer:
god
Debugging solution:
\n refers to new line
\b refers to back space
\r refer line feed .(see relate post)

0 comments: