fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int i=2,k;
  6. k=++i;
  7. printf("i=%d\nk=%d\n",i,k);
  8. int o=2,p;
  9. p=o++;
  10. printf("o=%d\np=%d\n",o,p);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
i=3
k=3
o=3
p=2