fork download
  1. /******************************************************************************
  2.  
  3. Welcome to GDB Online.
  4. GDB online is an online compiler and debugger tool for C/C++.
  5. Code, Compile, Run and Debug online from anywhere in world.
  6.  
  7. *******************************************************************************/
  8.  
  9. #include <stdio.h>
  10. int main()
  11. {
  12. int a,b,p;
  13. printf ("enter value of integer a");
  14. scanf ("%d",&a);
  15. printf ("a is %d",a);
  16. printf ("enetr value of decimal b");
  17. scanf ("%d",&b);
  18. printf ("b is %f",b);
  19. printf ("enter value of character p");
  20. scanf ("%d",&p);
  21. printf ("p is %c",p);
  22. return 0;
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
Success #stdin #stdout 0s 5436KB
stdin
45
stdout
enter value of integer aa is 45enetr value of decimal bb is 0.000000enter value of character pp is �