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