标签:log bsp logs sizeof str code eof har []
char c1[] = { ‘a‘,‘b‘,‘\0‘,‘d‘,‘e‘ }; char c2[] = "hello"; char *c3 = "hello"; sizeof(c1) = 5; strlen(c1) = 2; sizeof(c2) = 6; strlen(c2) = 5; sizeof(c3) = 4; strlen(c3) = 5;
标签:log bsp logs sizeof str code eof har []
原文地址:http://www.cnblogs.com/xiuxiu55/p/6752755.html