Sunday, August 7, 2011

Chapter 1, exercise 4

Bug Buster


#include <stdio.h>


int main(void);
{
  printf("Keep looking!");
  printf("You\'ll find it!\n");
  return 0;
}

There should not be a semicolon after the int main(void) prototype.  Also, there should be a \n at the end of the first printf argument.

No comments:

Post a Comment