This commit is contained in:
2026-10-20 16:04:38 +02:00
parent bf705d701d
commit 0f9049cfa5
36 changed files with 527 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("signed char : %hhd\n", 77);
printf("unsigned char : %hhu\n", 77);
printf("short int : %hd\n", 77);
printf("unsigned short int : %hu\n", 77);
printf("int : %d\n", 77);
printf("unsigned int : %u\n", 77U);
printf("long int : %ld\n", 77L);
printf("unsigned long int : %lu\n", 77UL);
printf("float : %.0f\n", 77.0f);
printf("double : %.0f\n", 77.0);
printf("long double : %.0Lf\n", 77.0L);
return EXIT_SUCCESS;
}