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

what is the advantage of function pointer

16 Answers   CMC, CS, Freshdesk, L&T, LG Soft, Matrix, TCS,


Fifty minutes ago if it was four times as many mints past 3 o clock. how many minutes is it to six o'clock n how....?????

3 Answers   TCS,


How do you initialize pointer variables?

0 Answers  


How was c created?

0 Answers  


What is the use of header?

0 Answers  






#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?

1 Answers   Groupon,


Is there any possibility to create customized header file with c programming language?

0 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


What is a pointer?

1 Answers   ADP, IFFCO,


What are called c variables?

0 Answers  


is c language is a object oreinted language?

5 Answers   TCS,


What is an array? What the different types of arrays in c?

0 Answers  


Categories