diff options
Diffstat (limited to 'sizes.c')
-rw-r--r-- | sizes.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#include <stdio.h> + +int main(void) { + + printf("sizeof(char): %lu\nsizeof(short): %lu\nsizeof(long): %lu\nsizeof(size_t): %lu\nsizeof(float): %lu\nsizeof(double): %lu\nsizeof(int): %lu\n", + sizeof(char), sizeof(short), sizeof(long), sizeof(size_t), sizeof(float), sizeof(double), sizeof(int)); + + return 0; +}
\ No newline at end of file |