this is a gcc file, you can download it and learn its usetility, for further detail please look at t

源代码在线查看: a-char.c

软件大小: 1331 K
上传用户: pipinooad
关键词: usetility download further detail
下载地址: 免注册下载 普通下载 VIP

相关代码

				#include 								static char a [10];				static char e [0]; /* GCC only */								int main (void) {				  printf ("+++Array char:\n");				  printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n",				          sizeof (a), __alignof__ (a),				          (char *) &a[5] - (char *) a, __alignof__ (a[5]));				  printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n",				          sizeof (e), __alignof__ (e),				          (char *) &e[5] - (char *) a, __alignof__ (e[5]));				  return 0;				}							

相关资源