#include <stdio.h>
main()
{
printf("\c");
}
the character 'c'
gets printed to the screen.
Likewise, the code
#include <stdio.h>
main()
{
printf("\a");
}
prints the character 'a'
to the screen. Try
this with some more characters, and you will find that
printf
ignores the backslash when the escape sequence is
invalid.