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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is not a pointer null after calling free?

587


Where define directive used?

600


Difference between constant pointer and pointer to a constant.

607


How can you check to see whether a symbol is defined?

585


What are the two forms of #include directive?

640






a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

680


Does c have enums?

597


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

580


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2922


Why is a semicolon (;) put at the end of every program statement?

620


How can I automatically locate a programs configuration files in the same directory as the executable?

625


Tell us the use of fflush() function in c language?

634


Write a program to swap two numbers without using the third variable?

591


When should volatile modifier be used?

550


What is meant by preprocessor in c?

526