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 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I avoid the abort, retry, fail messages?

1107


Is null a keyword in c?

1256


What is the use of c language in real life?

1074


Is fortran still used in 2018?

1098


What does s c mean in text?

1153


How can I sort more data than will fit in memory?

1169


What is data structure in c and its types?

1115


How would you rename a function in C?

1091


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2163


Why do we need a structure?

1083


What is signed and unsigned?

1126


Explain do array subscripts always start with zero?

1287


What is the difference between procedural and declarative language?

1190


What is %g in c?

1122


What is pragma c?

1187