program to find the ASCII value of a number

Answer Posted / vignesh1988i

#include<stdio.h>
#include<conio.h>
void main()
{
char n;
printf("enter the character:");
scanf("%c",&n);
printf("the ascii value %c is %d",n,n);
getch();
}

Is This Answer Correct ?    53 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of the functions?

902


Is sizeof a keyword in c?

798


Write a program to show the change in position of a cursor using c

857


What is graph in c?

853


What is difference between stdio h and conio h?

1140


i want to know the procedure of qualcomm for getting a job through offcampus

2241


Explain two-dimensional array.

855


Is c is a procedural language?

854


What is && in c programming?

938


What are types of structure?

874


What is the hardest programming language?

936


Explain how do you print an address?

931


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1036


Is it possible to pass an entire structure to functions?

799


If null and 0 are equivalent as null pointer constants, which should I use?

851