fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main (void)
  4. {
  5. int a=3,b=3;
  6.  
  7. printf("a=%d",a);
  8. printf(",a++的回傳值為%d.",a++);
  9. printf(",a=%d\n",a);
  10.  
  11. printf("b=%d",b);
  12. printf(",++b的回傳值為%d",++b);
  13. printf(",b=%d",b);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
a=3,a++的回傳值為3.,a=4
b=3,++b的回傳值為4,b=4