int main(void){
printf("\n");
printf("A char takes up %ld bytes\n\n", sizeof(char));
printf("A int takes up %ld bytes\n\n", sizeof(int));
printf("A long int takes up %ld bytes\n\n", sizeof(long));
printf("A float takes up %ld bytes\n\n", sizeof(float));
printf("A double takes up %ld bytes\n\n", sizeof(double));
}
댓글 없음:
댓글 쓰기