谁能给我输出的解释
#include<stdio.h>
int main(void){
int i;
char *a[]={ "This is first line",
"This is second line",
"This is third line",
"This is fourth line",
"This is fifth line",
"This is sixth line",
"This is seventh line end"};
printf("%d\n",sizeof(a));
printf("%d\n",sizeof(*a[0]));
for(i=0;i<=sizeof(a[0]);i++){
printf("%s\n",a[i]);
}
}
输出:
28
1
This is first line
This is second line
This is third line
This is fourth line
This is fifth line