fork download
  1.  
  2. #include <stdio.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. int i;
  7. printf("Please input a integer like i=2");
  8. scanf("i=%d",&i);
  9. printf("Hello world\n i=%d",i);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5280KB
stdin
i=48
stdout
Please input a integer like i=2Hello world
 i=48