write a C program to print the program itself ?!

Answer Posted / yang

main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}

copied from somewhere, but it works

Is This Answer Correct ?    17 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

663


What is a constant and types of constants in c?

598


When should you use a type cast?

585


What is static memory allocation? Explain

627


Can we change the value of static variable in c?

556






while initialization of array why we use a[][2] why not a[2][]...?

1860


What is const keyword in c?

739


Describe the difference between = and == symbols in c programming?

771


Write a program to implement queue.

660


What is the difference between functions abs() and fabs()?

642


What is n in c?

569


Difference between macros and inline functions? Can a function be forced as inline?

703


Explain what is wrong with this statement? Myname = ?robin?;

990


How to write a code for reverse of string without using string functions?

1575


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

609