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