#include <stdio.h>
int main ()
{
printf ("audible alert (bell) BEL \\a %d\n" , '\a');
printf ("backspace BS \\b %d\n" , '\b');
printf ("horizontal tab HT \\t %d\n" , '\t');
printf ("newline LF \\n %d\n" , '\n');
printf ("vertical tab VT \\v %d\n" , '\v');
printf ("formfeed FF \\f %d\n" , '\f');
printf ("carriage return CR \\r %d\n" , '\r');
printf ("double quote \" \\\" %d\n", '\"');
printf ("single quote \' \\\' %d\n", '\'');
printf ("question mark ? \\? %d\n" , '\?');
printf ("backslash \\ \\\\ %d\n", '\\');
return 0;
}
audible alert (bell) BEL \a 7
backspace BS \b 8
horizontal tab HT \t 9
newline LF \n 10
vertical tab VT \v 11
formfeed FF \f 12
carriage return CR \r 13
double quote " \" 34
single quote ' \' 39
question mark ? \? 63
backslash \ \\ 92
No comments:
Post a Comment