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
What are the types of c language?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Explain how can you be sure that a program follows the ansi c standard?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is 2c dna?
What is the use of typedef in c?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Do you have any idea how to compare array with pointer in c?
What is the c language function prototype?
What is meant by inheritance?
What do you mean by keywords in c?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What does c mean?