main()
{
int i=5;
printf("%d%d%d%d",i++,i--,i);
}
Answer Posted / rukmanee
i++=5
i--=5
i=5
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
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.
How can I change their mode to binary?
Why do we use stdio h and conio h?
What are pointers really good for, anyway?
What is function in c with example?
What are the properties of union in c?
Is c language still used?
What is null pointer constant?
find the sum of two matrices and WAP for it.
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What are keywords c?
How do you write a program which produces its own source code as output?
How to draw the flowchart for structure programs?
why wipro wase
What the advantages of using Unions?