Upload
kaotang-natung
View
5
Download
0
Embed Size (px)
DESCRIPTION
week4_sizelimits
Citation preview
พิ�มพิ� //start test sizelimits เพิ��อบอกหั�วเรื่��องที่��ต้�องการื่ที่�า
พิ�มพิ� #include "stdio.h"
พิ�มพิ� #include "limits.h"
พิ�มพิ�สิ่��งที่��ต้�องการื่เพิ��อขั้��นหั�วขั้�อ บอกว�าขั้��นต้อนน��ที่�าอะไรื่//fighting to
/*I love Durm*/
พิ�มพิ� void main ()
{
printf("storage size int : %d,\n", sizeof(int));
printf("storage size char : %d,\n", sizeof(char));
printf("storage size float : %d,\n", sizeof(float));
printf("storage size double : %d,\n", sizeof(double));
printf("storage size unsigned int : %d,\n", sizeof(unsigned));
return 0;
}