From af91ef07eb2a20fae0ed1fd4f6714020cb790e20 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Fri, 17 Mar 2017 13:53:43 +0100 Subject: string.pack --- sizes.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sizes.c (limited to 'sizes.c') diff --git a/sizes.c b/sizes.c new file mode 100644 index 0000000..647c169 --- /dev/null +++ b/sizes.c @@ -0,0 +1,9 @@ +#include + +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 -- cgit v1.2.3-54-g00ecf