\n is called as line break which is used to break the line while printing the statement on the Console.
Example-
"Mystring" will print
Mystring
while
"MynString" will print
My
String
program-
#include< stdio.h>
int main()
{
printf("My programming is Good\n");
printf("My programming\nis Good");
}
My programming is Good
My programming
is Good