Output control character: new line : Control Character « Data Type « C / ANSI-C






Output control character: new line

  
#include <stdio.h>

int main(void)
{
  printf("1.\n");
  printf("2.\n");
  printf("3.");

  return 0;
}

           
       








Related examples in the same category

1.Back to the start of the line
2.Displaying a String with line separator
3.Displaying String: out quotation marks in a printf
4.Display string: special char
5.More special charsMore special chars
6.Output new line character