25-comma.c 235 B

1234567891011121314
  1. #include <stdio.h>
  2. int main() {
  3. int a = 2, b = 3, c = 4, result;
  4. result = (a * b) + (c - a), a++, b++, c++;
  5. printf("Result: %d\n", result);
  6. printf("a: %d\n", a);
  7. printf("b: %d\n", b);
  8. printf("c: %d\n", c);
  9. return 0;
  10. }