diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-17 13:53:43 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-17 14:38:56 +0100 |
commit | af91ef07eb2a20fae0ed1fd4f6714020cb790e20 (patch) | |
tree | f580a755ae8fc725c55e860c7d8d95a2f970121c /sizes.c | |
parent | 0d8de3dad35216726d6f2e0b5fe333b2b7aa6d10 (diff) | |
download | fengari-af91ef07eb2a20fae0ed1fd4f6714020cb790e20.tar.gz fengari-af91ef07eb2a20fae0ed1fd4f6714020cb790e20.tar.bz2 fengari-af91ef07eb2a20fae0ed1fd4f6714020cb790e20.zip |
string.pack
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 |