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?

Answers were Sorted based on User's Feedback



write a program that print itself even if the source file is deleted?..

Answer / j.shakthi yokesh

@bitan:dude....if u don't mind,plz explain the code....i
didn't understand

Is This Answer Correct ?    0 Yes 0 No

write a program that print itself even if the source file is deleted?..

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

More C Interview Questions

a simple c program using 'for' loop to display the output 5 4 3 2 1

2 Answers   Google,


How can I direct output to the printer?

0 Answers  


What does calloc stand for?

0 Answers  


what is a function pointer and how all to declare ,define and implement it ???

4 Answers   Honeywell,


int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?

5 Answers   CMC,


the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 Answers   TCS,


21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 Answers  


What is d scanf?

0 Answers  


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

0 Answers  


i want to have a program to read a string and print the frequency of each character and it should work in turbo c

3 Answers   Persistent, Wipro,


Can the sizeof operator be used to tell the size of an array passed to a function?

0 Answers  


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

0 Answers   Oracle,


Categories