Find ASCII Character value in c programme

 Find ASCII Character value in c programme

Start Now

-------------------------------------------------------------------------------------------------------------------------------

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr(); // clear screen function

char c ; // variable to store character value

printf("enter the ASCII Code Character"); //  print function

scanf("%c",&c);

printf(" value of ASCII Code %c = %d",c,c);

getch(); // function

}

----------------------------------------------------------------------------------------------------------

Comments

Popular Posts