Im not "that" new to C but can some one please enlighten me on this one:
printf( "%d %d\n", sizeof( int ), sizeof( unsigned char ) );
print as expected 4 and 1.
unsigned char b;
printf( "%d\n", sizeof( test ) );
print 8... Im really confused!
以上就是Sizeof Struct vs Sizeof Type的详细内容，更多请关注web前端其它相关文章！