Solution for Exercise 4-2

ex0402

#include <stdio.h>

int main()
{
   puts("I love displaying text!");
   return(0);
}

Notes

* A long time ago, when computers were controlled primarily by the command prompt, I wrote a program like this. It displayed the text "Who's there?" The name of the program was Knock-Knock.

* Incidentally, you don't need to save updates as separate projects. If the book asks you to change a project, such as "modify ex0401 to ex0402," you can simply keep working on the original project. That's easier.