Solution for Exercise 4-10

ex0410

#include <stdio.h>

int main()
{
    puts("This program goes BOOM!");
    return(0);
}

Notes

* It may seem kind of silly to require two lessons to fix one program. Still, that's probably what you'll experience as you fix your code: You fix one problem, then attempt to build again only to find another problem.

* Oh, and the code no longer goes "BOOM!"