Sir,please help me out with the code of this question.

Write an interactive C program that will encode or decode
multiple lines of text. Store the encoded text within a
data file, so that it can be retrieved
and decoded at any time. The program should include the
following features:
(a) Enter text from the keyboard, encode the text and store
the encoded text in a data file.
(b) Retrieve the encoded text and display it in its encoded
form.
(c) Retrieve the encoded text, decode it and then display
the decoded text.
(d) End the computation.
Test the program using several lines of text of your choice.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none

9 Answers   IBM,


How can I swap two values without using a temporary?

0 Answers  


What is the sizeof () a pointer?

0 Answers  


how to print this pyramid * * * * * * * * * * * * *

2 Answers  


How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)

1 Answers   iLantus, Subex,






write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


What is a const pointer?

0 Answers  


How many keywords (reserve words) are in c?

0 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

0 Answers   College School Exams Tests,


what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"

4 Answers  


Categories