[prev] [index] [next]

Exercise: C revision

On a piece of paper, write a C program that:
  • prints the first ten integers (1..10)
  • one integer per line with no spaces
Program must be complete, including
  • all #include's needed to compile
  • appropriate return status
Five minute time-limit.