Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
TORU WAKAHARA<br />
例 . 構 造 体 のサイズを 調 べる。<br />
#include <br />
struct s_type {<br />
int i;<br />
char ch;<br />
int *p;<br />
double d;<br />
} s;<br />
int main()<br />
{<br />
printf("s_type は %d バイトの 長 さである\n", sizeof(struct s_type));<br />
}<br />
return 0;<br />
☆ s_type のサイズを 求 めるのに,sizeof(struct s_type) 以 外 の 書 き 方 は