New line character || Basic programs || C programming

Here we are going to see what is the use of "\n" in C, basically it is used to end the line in C Programming Language.
 

#include<stdio.h>
int main()
{
    //Use of \n
    printf("Satsriakal\n");

    //This line will be printed in a new line
    printf("To Everyone\n");

    //This line will be printed in a new line
    printf("Welcome to Help For Coders");
}

//....Coded by AKSHAYA REGHU and NIDHI KULKARNI
#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post