training

Code I wrote during training
git clone git://git.bitsmanent.org/training
Log | Files | Refs | README

escapes.c (305B)


      1 /* Exercise 9.14 */
      2 
      3 #include <stdio.h>
      4 
      5 int main(void)
      6 {
      7    
      8    printf("\\\': < \' >\n"
      9 	  "\\\": < \" >\n"
     10 	  "\\\?: < \? >\n"
     11 	  "\\\\: < \\ >\n"
     12 	  "\\a: < \a >\n"
     13 	  "\\b: < \b >\n"
     14 	  "\\f: < \f >\n"
     15 	  "\\n: < \n >\n"
     16 	  "\\r: < \r >\n"
     17 	  "\\t: < \t >\n"
     18 	  "\\v: < \v >\n"
     19 	 );
     20 
     21 
     22    return 0;
     23 }
     24