fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char a;
  5. short b;
  6. int c;
  7. long d;
  8. float e;
  9. double f;
  10.  
  11. a = 111;
  12. b = 111;
  13. c = 111;
  14. d = 111;
  15. e = 111.0;
  16. f = 111.0;
  17.  
  18. printf("a =%d\n", a);
  19. printf("b =%d\n", b);
  20. printf("c =%d\n", c);
  21. printf("d =%ld\n", d);
  22.  
  23. printf("e =%f\n", e);
  24. printf("f =%f\n", f);
  25. return 0;
  26. }
  27.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
a  =111
b  =111
c  =111
d  =111
e  =111.000000
f  =111.000000