- Ben。 First, they are not meaningless. Some process governs exactly whatyou see but since it may involve things like the terminal setting itcan be a very complex one. Secondly, a char pointer always points at a char object. C does notmandate the value but any object of any type can be accessed as if itis a sequence of char objects. In your case the first two charactersare almost certainly 1000 % 256 and 1000 / 256, i.e. the least andsecond least significant bytes of the binary representation of 1000. I know this is not an actual answer, but your either/or questionsdon''t give me much room! --Ben. 我们的问题与我在此之前的问题相同br /> 有chars或int数组,链接器分配已初始化的字节 值加上4 BYTES MORE,其中还包括一个NuLL char''\ 0'' your question is same as i asked here before acutally acutally when wehave array of chars or int the linker allocates bytes of initializedvalues plus 4 BYTES MORE which also include a NuLL char ''\0'' 这里是帖子 http:// groups。 google.co.in/group/com...42714e7b3e6c17 这篇关于通过char *指针访问void * buffer / array的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-20 10:40