Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is file a keyword in c?

983


What is difference between constant pointer and constant variable?

1402


What are the different types of constants?

1129


Explain 'bit masking'?

1137


How can I convert a number to a string?

1254


What is graph in c?

1104


Why can't I perform arithmetic on a void* pointer?

1159


what will be maximum number of comparisons when number of elements are given?

1952


how to introdu5ce my self in serco

2049


Explain why can’t constant values be used to define an array’s initial size?

1400


What is null in c?

1155


Explain what is the advantage of a random access file?

1176


Why is it usually a bad idea to use gets()? Suggest a workaround.

1871


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.

2356


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1258