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

WAP to convert text into its ASCII Code and also write a
function to decode the text given?

Answer Posted / harish solanki

#include<stdio.h>
#include<conio.h>
void main()
{
char c,d;
int a;
clrscr();
printf("enter character");
scanf("%c",&c);
a=c;
d=a;
printf("the ascii code is:%d",a);
printf("the character is:%c",d);
getch();
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge sort in c?

1052


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2102


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

2129


Why is event driven programming or procedural programming, better within specific scenario?

2438


Do array subscripts always start with zero?

1308


What is a structural principle?

1171


What is a global variable in c?

1015


What are the advantages of using new operator as compared to the function malloc ()?

1353


What is pointers in c with example?

1082


Difference between Function to pointer and pointer to function

1089


Disadvantages of C language.

1109


What are lookup tables in c?

1005


What is formal argument?

1140


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1250


Why void main is used in c?

1053