fork(7) download
  1. #include <stdio.h>
  2. typedef struct S_ { short f[3]; } S __attribute__ ((aligned (8)));
  3.  
  4. S test[16]={};
  5.  
  6. int main(void) {
  7. printf("%zu\n",sizeof(test));
  8. // your code goes here
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:4:1: error: alignment of array elements is greater than element size
 S test[16]={};
 ^
stdout
Standard output is empty