write a C program to print the program itself ?!
Answer Posted / manish
#include<stdio.h>
char*s="char*s=%c%s%c;main(){printf(s,34,s,34);}";
main()
{
printf(s,34,s,34);
}
| Is This Answer Correct ? | 25 Yes | 15 No |
Post New Answer View All Answers
Are pointers integers in c?
How are 16- and 32-bit numbers stored?
What are the different file extensions involved when programming in C?
What is the size of empty structure in c?
Is it possible to execute code even after the program exits the main() function?
Compare array data type to pointer data type
What is memory leak in c?
What are near, far and huge pointers?
What is static and volatile in c?
Explain how can you tell whether a program was compiled using c versus c++?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Write a program for finding factorial of a number.
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What are the string functions? List some string functions available in c.
Explain about C function prototype?