fork download
  1. #include <stdio.h>
  2.  
  3. int main ( )
  4. {
  5.  
  6. printf ("Integer is %i, Long Integer is %i, Char is %i, Float is %i, and Double is %i \n",
  7. sizeof(int), sizeof(long int), sizeof(char), sizeof(float), sizeof(double) );
  8.  
  9. return (0);
  10.  
  11. }
  12.  
  13.  
  14.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Integer is 4, Long Integer is 8, Char is 1, Float is 4, and Double is 8