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 difference between Structure and Unions?

634


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3727


How can I access an I o board directly?

619


What are the advantages of the functions?

600


Can include files be nested? How many levels deep can include files be nested?

651






What is register variable in c language?

596


How to compare array with pointer in c?

615


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

606


How can you convert integers to binary or hexadecimal?

610


Explain how do you view the path?

647


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

1621


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

641


What is type qualifiers?

653


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1879


How can I change their mode to binary?

688