User Activity

  • Posted a comment on discussion Development on cppcheck

    #include <stdio.h> void main(){ int n = 0; void inner1(){ int a = 10 / n; printf("a=%d\n", a); } void inner2(){ n = 2; } inner2(); inner1(); } Cppcheck says Division by zero but n is 2.

View All

Personal Data

Username:
ziav
Joined:
2006-06-23 10:23:27

Projects

  • No projects to display.

Personal Tools