fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int i,k;
  6. scanf("%d",&i);
  7. k=++i;
  8. printf("k=%d\n",k);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5304KB
stdin
2
stdout
k=3