Initial commit
This commit is contained in:
10
kapitel5/bytes_zu.c
Normal file
10
kapitel5/bytes_zu.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("En char: %zu byte\n", sizeof(char));
|
||||
printf("En vanlig int: %zu byte\n", sizeof(int));
|
||||
printf("En long int: %zu byte\n", sizeof(long int));
|
||||
printf("En short int: %zu byte\n", sizeof(short int));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user