add pointer size

This commit is contained in:
Luca Conte 2023-10-16 13:38:04 +02:00
parent 5a5d7ddd0f
commit edeb3a1ee1
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ int main(void) {
printf("\n");
printf("double: %ld\n", sizeof(d));
printf("long: %ld\n", sizeof(ld));
printf("\n");
printf("pointer: %ld\n", sizeof(&i));
return 0;
}