C program to find out the ASCII code of any Character.
Method 1
#include<stdio.h>
void main()
{
int a;
char ch;
printf("Enter any character:");
scanf("%c",&ch);
a=ch;
printf("ASCII value of %c is %d",ch,a);
getch();
}
Method 2
#include <stdio.h>
void main()
{
char c;
printf("Enter any character =");
scanf("%c", &c);
printf("ASCII Value is = %d",c);
return 0;
}
Output:-
Their collaborative and thorough approach partner to create a successful engagement
ReplyDeletedeveloping a logo
You create sense out of the foremost complex topics.
ReplyDeleteuser experience consulting