fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. printf("%d %d %d %d/n", sizeof(char), sizeof(short),
  6. sizeof(int), sizeof(long));
  7. printf("%d %d ",sizeof(float), sizeof(double));
  8. return 0;
  9. }
  10.  
  11.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
1 2 4 8/n4 8