hi is there any way by which we can write a program that displays its own source code???????:?::-/

Recommended Answers

All 3 Replies

hi is there any way by which we can write a program that displays its own source code???????:?::-/

Of course, just open the *.c file, read each line and print it on the screen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.