View Single Post
Espy Espy is offline
Wanderer
Default   #365  
#include <stdio.h>
#include <limits.h>

int main()
{
printf("short int...\tsize: %d bytes \t", sizeof( short int ) );
printf("%d to %d \n", SHRT_MAX , SHRT_MIN );
printf("long int...\tsize: %d bytes \t", sizeof( long int ) );
printf("%d to %d \n", LONG_MAX , LONG_MIN );
printf("char...\tsize: %d byte \t", sizeof(char));
printf("float...\tsize: %d bytes \t", sizeof(float));
printf("double...\tsize: %d bytes \t", sizeof(double));

return 0;
}

........Does that even need explaining?
STONEWALL WAS A RIOT

Old Posted 06-29-2012, 03:04 AM Reply With Quote