Add new line character : String Escape « String « C Tutorial






#include <stdio.h>

int main(void)
{
  printf("A\nB\nC");
  return 0;
}
A
     B
     C








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.