Demonstration of \t and \n

, by Prashant Gunjal

Screenshot :


Code :
#include<stdio.h>
void main()
{   clrscr();
printf("\n****This is new line *****");
printf("\n\t****This is Tab****");
     getch();
}

Description :

\n is use to display string on new line
\t is use to display string with giving tab



0 comments: