Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

program to find the ASCII value of a number

Answer Posted / thiyanesh

#include<stdio.h>
void main()
{
char num ;
printf("enter the number: ");
scanf("%c",&num);
printf("the ascii value of %c is %d",num,num);
return 0;
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array of structure in c?

1169


Can main () be called recursively?

1115


Explain the Difference between the New and Malloc keyword.

1127


Are the outer parentheses in return statements really optional?

1111


How do you determine the length of a string value that was stored in a variable?

1119


What is the purpose of 'register' keyword?

1098


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1684


please send me the code for multiplying sparse matrix using c

2166


what is the difference between class and unio?

2360


What is hashing in c?

1163


What is the use of gets and puts?

1026


What is openmp in c?

1022


What's the difference between constant char *p and char * constant p?

1147


Is it possible to initialize a variable at the time it was declared?

1215


What is function prototype in c language?

1030