sizeof 笔经
<br />1.常规<br />char str1[] = “Hello” ;<br />char str2[5] = {'H','e','l','l','o'};<br />char str3[6] = {'H','e','l','l','o','/0'};<br />char *p1 = "Hello";<br />char *p2[]={"hello","world"}; <br />int n = 10;<br />int *q = &n;<br /><br />sizeo
复制链接