C Escape Sequence

Get Certified in C Programming and Take Your Skills to the Next Level

Program 1

// Escape Sequence in C
#include<stdio.h>
#include<conio.h>
// \n \t \' \" 
int main()
{
     system("cls");
     printf("*\n**\n***\n****\n******");
    //  printf("-----------------------------------------------");
    //  printf(" \n\t 1. Addition\n\t 2. Subtraction \n \t3.Swaping \n\t 4 Exit");
    //  printf("\n-----------------------------------------------");

    // printf("Hello\n Bye");
     //printf("Hello\t Bye");
     //printf(" \"Vivek Uprit\" ");
     //printf(" \'Vivek Uprit\' ");
     //printf("Hello\n Bye");
    //  printf("\\n --- New Line Character ");
    //  printf("\n \\t --- Tab Character ");
    //  printf("\n \" --- Double Quote");
     return 0;  
}

 

Did you know we work 24x7 to provide you best tutorials
Please encourage us - write a review on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *