Monday, August 8, 2011

Chapter 1, exercise 5

Bug Buster


#include <stdio.h>


int main(void)
{
  printf("This is a program with a ");
  do_it("problem!");
  return 0;
}

The do_it() function is undeclared.  Changing do_it to printf will fix the program.

No comments:

Post a Comment