25 lines
369 B
C
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);
|
||
|
}
|