Program to find the ASCII values of the \n,\r,\t,\a,and \b

//Program to find the ASCII values of the \n,\r,\t,\a,and \b
#include<stdio.h>
#include<conio.h>
int main()
{

clrscr();
printf("ASCII value of \\n is =%d",'\n');
printf("\nASCII value of \\r is =%d",'\r');
printf("\nASCII value of \\t is =%d",'\t');
printf("\nASCII value of \\a is =%d",'\a');
printf("\nASCII value of \\b is =%d",'\b');
getch();
return 0;

}

To Run this Program Copy it in text editor and save as .c
Then double click on it and then it will get opened in your compiler.
Click on run.

No comments:

Post a Comment