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

Explain low-order bytes.

0 Answers  


Explain the difference between structs and unions in c?

0 Answers  


swap two integer variables without using a third temporary variable?

6 Answers   Persistent,


What are the different categories of functions in c?

0 Answers  


What is the full form of getch?

0 Answers  


Hai what is the different types of versions and their differences

0 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 Answers  


Explain what are its uses in c programming?

0 Answers  


What is difference between array and structure in c?

0 Answers  


How do you view the path?

0 Answers  


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

0 Answers  


Categories