sizeof long int=4; //這與int一樣
sizeof shor int=2;
sizeof double=8;
sizeof char=1;
sizeof *p_int=4;
sizeof *p_char=4;
sizeof *p_double=4;
char b[]="我是誰";
char c[]="who am i";
sizeof b=7; //一個漢字占字節(jié)數(shù) 2
sizeof c=9; //一個英文字母占字節(jié)數(shù) 1
sizeof long int=4; //這與int一樣
sizeof shor int=2;
sizeof double=8;
sizeof char=1;
sizeof *p_int=4;
sizeof *p_char=4;
sizeof *p_double=4;
char b[]="我是誰";
char c[]="who am i";
sizeof b=7; //一個漢字占字節(jié)數(shù) 2
sizeof c=9; //一個英文字母占字節(jié)數(shù) 1