Gimpel Home Page
Sample Program
On-Line Demonstrations of FlexeLint and PC-lint (aka FlexeLint for Windows)

Bug of the Month for Jun 2009

Bug of the Month Samples

Baltazar, a C student, wrote this small program to produce the Nth triangular number. To his dismay he kept getting an unexpected answer. What's wrong?

Modify this example, if desired, and then hit the Analyse Code button

Run FlexeLint on Bug of the Month Samples
Home | Examples | Contact | Order

PC-lint and FlexeLint are trademarks of Gimpel Software
Copyright © 2009, Gimpel Software

Viewable With Any Browser