write a C program to print the program itself ?!
Answer Posted / vara
Most simplest ....
char *p="char *p=%s int main(){ printf(p,p);getchar();}";int
main(){ printf(p,p);getchar();}
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Explain #pragma statements.
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
What is string concatenation in c?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is the meaning of && in c?
What do you mean by dynamic memory allocation in c? What functions are used?
What is the difference between %d and %i?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is advantage of pointer in c?
How do you determine the length of a string value that was stored in a variable?
Do you know what are bitwise shift operators in c programming?
Explain what is the difference between functions abs() and fabs()?
Explain how do you list a file’s date and time?