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

In c language can we compile a program without main() function?

1061


Explain low-order bytes.

979


What is the purpose of void in c?

997


What is an identifier?

979


Why c language?

1009


What is the use of c language in real life?

975


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1884


Tell me with an example the self-referential structure?

943


Are the variables argc and argv are always local to main?

975


Explain high-order bytes.

1062


What should malloc(0) do?

1060


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1804


Write a program that accept anumber in words

1712


What does it mean when a pointer is used in an if statement?

1064


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2335