Here I'm adding one more in the queue. This is a simple program which will show you the current time and the clock will keep ticking.
It actually picks the time from the system clock and then display it on the console. While writing this code I also got the IDEA of writing a Time Bomb Virus :P which I'll share soon.
Here is the code of the your home made clock.
struct time t;
printf("\n\t\t\t\t============\n\t\t\t\t=\t =\n\t\t\t\t= MY CLOCK =");
If you are having troubles in compiling the code then check How to Compile a C code
Stay tuned for more cool articles.