Using escape: backslash : String Escape « String « C Tutorial






#include<stdio.h>

int main(void)
{
  printf("If at first you don\'t succeed, try, try, try again!");
  return 0;
}
If at first you don't succeed, try, try, try again!








3.5.String Escape
3.5.1.Using escape: backslash
3.5.2.Add new line character
3.5.3.Escape Quotations
3.5.4.\\ is the escape sequence that sticks a backslash character into a string.