This how you would check the memory information of your system. It depends really on you machine. But the following shows the information which was taken out from my machine
Code:
#include<stdio.h>
int main()
{
printf("These are the memory size information on my system\n");
printf("\n Int : %d bits\n", sizeof(int) * 8);
printf(" Floart : %d bits\n", sizeof(float) * 8 );
printf(" Char : %d bits\n", sizeof(char) * 8);
printf(" Double : %d bits\n", sizeof(double) * 8);
printf(" Short : %d bits\n", sizeof(short) * 8);
printf(" Long : %d bits\n", sizeof(long) * 8);
getchar();
return 0;
}
/* my output
These are the memory size information on my system
Int : 32 bits
Floart : 32 bits
Char : 8 bits
Double : 64 bits
Short : 16 bits
Long : 32 bits
*/
ssharish2005