标签:style blog http color 2014 io
#include <stdio.h> #include <string.h> int main(void) { char *str[3]={ "Hello,thisisasample!", "Hi,goodmorning.", "Helloworld" }; char s[80]; printf("size %d\n",sizeof(char [3])); // printf("size %d\n",sizeof(str)); // 3X4=12 printf("size %d\n",sizeof(*str)); // sizeof((char *)str)
标签:style blog http color 2014 io
原文地址:http://www.cnblogs.com/qbmiller/p/3817037.html