cool
This commit is contained in:
parent
36cd5091a1
commit
4e8af7e835
12 changed files with 79 additions and 2 deletions
11
02/02_33p.c
Normal file
11
02/02_33p.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("char: %zu byte\n", sizeof(char));
|
||||
printf("int: %zu bytes\n", sizeof(int));
|
||||
printf("long: %zu bytes\n", sizeof(long));
|
||||
printf("long long: %zu bytes\n", sizeof(long long));
|
||||
printf("pointer: %zu bytes\n", sizeof(void*));
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue