fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a[5] = {5, 3, 15, 20, 25};
  5. int i, j, m;
  6. i = ++a[1];
  7. j = a[1]++;
  8. m = a[i++];
  9. printf("%d, %d, %d", i, j, m);
  10. return 0;
  11. }
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
5, 4, 25