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

printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1095


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

1037


Explain goto?

1093


Write a program in c to replace any vowel in a string with z?

1074


What is multidimensional arrays

1063


What are the application of void data type in c?

1133


What is const volatile variable in c?

981


Explain what does a function declared as pascal do differently?

1211


What kind of structure is a house?

994


What is the purpose of macro in C language?

1063


When do we get logical errors?

1071


Why is it important to memset a variable, immediately after allocating memory to it ?

1999


What is strcmp in c?

1017


write a progrmm in c language take user interface generate table using for loop?

1995


Why can't I perform arithmetic on a void* pointer?

1044