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

What is data types?

1138


Differentiate abs() function from fabs() function.

1071


Explain about C function prototype?

1141


What is array of structure in c?

1253


What is %s and %d in c?

1105


Explain the term printf() and scanf() used in c language?

1095


Explain high-order and low-order bytes.

1167


Write a Program to find whether the given number or string is palindrome.

1337


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2226


Is null always equal to 0(zero)?

1097


What is null in c?

1153


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2173


Which type of language is c?

1118


What is a constant and types of constants in c?

1174


What is the Purpose of 'extern' keyword in a function declaration?

1141