os/p/c1/main.c
2019-06-14 20:04:43 +02:00

25 lines
369 B
C

#include <stdio.h>
struct c
{
void *a;
int b;
char c[10];
};
int main(int argc, char **argv)
{
struct c cc[10];
printf("%zu \n", sizeof(struct c));
printf("%zu \n", sizeof(cc));
printf("%zu \n", sizeof(cc[0]));
printf("%zu \n", sizeof(*cc));
while (--argc > 0)
printf("%s ", argv[argc]);
puts("");
return (0);
}