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

What is the use of define in c?

1055


find out largest elemant of diagonalmatrix

2245


What is hashing in c?

1163


Explain the bubble sort algorithm.

1056


Here is a good puzzle: how do you write a program which produces its own source code as output?

1093


Can you tell me how to check whether a linked list is circular?

1406


Explain what is the general form of a c program?

1089


How many levels of pointers have?

1040


What is return type in c?

1131


What is a MAC Address?

1054


Why do we use header files in c?

1068


Differentiate fundamental data types and derived data types in C.

1030


What is c preprocessor mean?

1306


How many types of functions are there in c?

1139


Write a program to print "hello world" without using a semicolon?

1055