fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a=5;
  5. printf("enter a value:5");
  6. scanf("%d\n",&a);
  7. printf("the value of a=%d\n",a);
  8. return 0;
  9. }
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
enter a value:5the value of a=5