Solution for Exercise 4-2
ex0402
#include <stdio.h>
int main()
{
puts("I love displaying text!");
return(0);
}
Output
I love displaying text!
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 or source code files. If the book asks you to modify or update a previous Exercise, just keep working with the original file. It's easier.
Copyright © 1997-2025 by QPBC.
All rights reserved
