WAP to convert text into its ASCII Code and also write a
function to decode the text given?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shashank mahabdi
to convert it into ascii code just assign the entered
variable to a int(integer)variabe e.g.
int i=a
which on printing i will gie 64 as the o/p
| Is This Answer Correct ? | 1 Yes | 6 No |
How can I set an array's size at run time?
Describe the difference between = and == symbols in c programming?
What is c programing language?
what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
7 Answers Cadence, JNTU, Zen Technologies,
what is the difference between #include<stdio.h> and #include"stdio.h" ?
What is the advantage of an array over individual variables?
What are the 4 types of organizational structures?
Write a C program that reads a series of strings and prints only those ending in "ed"
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What is the deal on sprintf_s return value?
Does free set pointer to null?
write a program to add two numbers of any size.....(remember any size)