#include <stdio.h>
struct fir
{
char a;
int b;
char c
}fir;
struct tw
{
char ab;
char bb;
int cb
}tw;
int main(void)
{
int dd;
int cc;
dd=sizeof(fir);
cc=sizeof(tw);
printf("%d/n",dd);
printf("%d/n",cc);
}
-bash-3.00$ gcc -o two two.c
two.c:7: warning: no semicolon at end of struct or union
two.c:13: warning: no semicolon at end of struct or union
-bash-3.00$ ./two
12
8