#include stdio.h; #define LAST 10 int main() { int i, sum = 0; for ( i = 1; i <= LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; }
#include <stdio.h>// not #include stdio.h; or #include <stdio.h>; #define LAST 10 int main() { int i, sum = 0; for ( i = 1; i <= LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; }//
stdio.h
#include stdio.h;
#include <stdio.h>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)