#include
static struct sss{
long f;
} a[10];
int main (void) {
printf ("++++Array of struct with long:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
sizeof
#include
static struct sss{
short f;
} a[10];
int main (void) {
printf ("++++Array of struct with short:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
size
#include
static struct sss{
int f;
} a[10];
int main (void) {
printf ("++++Array of struct with int:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
sizeof (
#include
static struct sss{
long long f;
} a[10];
int main (void) {
printf ("++++Array of struct with longlong:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
#include
static struct sss{
char * f;
} a[10];
int main (void) {
printf ("++++Array of struct with pointer:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
s
#include
static struct sss{
double f;
} a[10];
int main (void) {
printf ("++++Array of struct with double:\n");
printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
si