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 / dhinakar

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>

void main()
{
char num;
printf("Enter the number");
scanf("%c",&num);
printf("ASCII of %d is %d\n",atoi(&num),num);

}

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What functions are used in dynamic memory allocation in c?

1120


What is the difference between a function and a method in c?

1135


What is a node in c?

1024


Explain Basic concepts of C language?

1237


What is the right type to use for boolean values in c?

1086


Is it better to use a macro or a function?

1206


What is this infamous null pointer, anyway?

1104


Why can’t we compare structures?

1325


How do c compilers work?

1199


What is the use of sizeof?

1064


Tell us something about keyword 'auto'.

1109


What does node * mean?

1307


What is the function of volatile in c language?

1186


What is the role of this pointer?

1129


What is data structure in c language?

1161