write a program that print itself even if the source file is
deleted?
Answer Posted / bitan
int main(s){
s="int main(s){s=%c%s%c;printf(s,34,s,34);return 0;}";
printf(s,34,s,34);
return 0;
}
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Is file a keyword in c?
What is difference between constant pointer and constant variable?
What are the different types of constants?
Explain 'bit masking'?
How can I convert a number to a string?
What is graph in c?
Why can't I perform arithmetic on a void* pointer?
what will be maximum number of comparisons when number of elements are given?
how to introdu5ce my self in serco
Explain why can’t constant values be used to define an array’s initial size?
What is null in c?
Explain what is the advantage of a random access file?
Why is it usually a bad idea to use gets()? Suggest a workaround.
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.
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?