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)

Post a Comment

0 Comments