Complete Video Learning
Table of Contents
#include <conio.h>
#include <stdio.h>
void main()
{
char c;
printf("Enter a character: ");
scanf("%c", &c);
printf("ASCII value of %c = %d", c, c); // %d displays the integer value of a character & %c displays the character
getch();
}
Enter a character: h
ASCII value of h = 104
SHOW YOUR SUPPORT FOR NIELITBHU..!!
Dear reader, thank you for joining us. Readers like you are an inspiration for us to pursue NIELITBHU. We need your support or cooperation to further empower NIELITBHU and reach NIELITBHU more people in every corner of the country. Your every support is invaluable to our future.