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...

Write a program to accept a character & display its
corrosponding ASCII value & vice versa?

Answer Posted / sanjay malik

#include<stdio.h>
main()
{
char ch;
printf("ENTER A CHARACTER: ");
scanf("%c",&ch);
printf("THE ASCII CODE IS %d",ch);}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you be sure that a program follows the ANSI C standard?

1569


What is the c language function prototype?

1048


Define recursion in c.

1211


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

1045


Explain what is the most efficient way to store flag values?

1178


How can a program be made to print the line number where an error occurs?

1039


What is a file descriptor in c?

1062


Write a program to print ASCII code for a given digit.

1045


Is anything faster than c?

971


What are the different types of linkage exist in c?

980


Explain about C function prototype?

1037


What are the types of type qualifiers in c?

1044


What are header files and explain what are its uses in c programming?

1073


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10152


Where static variables are stored in memory in c?

955