How do you write a program which produces its own source
code as its output?

Answer Posted / sharath

can we use system() to print source code of a file??

if yes please with an example.
also explain how to execute please please
i am in an urgent need.
please

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer and how it is initialized?

844


What is a stream in c programming?

841


Write a program to check palindrome number in c programming?

798


What is the use of header?

848


Write a program to check armstrong number in c?

882


What are nested functions in c?

796


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2123


How reliable are floating-point comparisons?

858


How to get string length of given string in c?

823


Where does the name "C" come from, anyway?

890


What is s in c?

853


Is printf a keyword?

989


Why use int main instead of void main?

872


program to convert a integer to string in c language'

2212


What is void pointers in c?

797