DEV/DEV1.1/TP12:Structures/tailles.c

14 lines
192 B
C
Raw Normal View History

2022-11-16 15:31:49 +01:00
#include <stdio.h>
#include <stdlib.h>
struct enregistrement{
char champs1;
char champs2;
char champs3;
};
int main() {
struct enregistrement bob;
printf("%d\n",sizeof bob);
return 0;
}