作者sky810675 (KKMAN)
看板TransCSI
标题[问题] array problem
时间Tue May 19 21:58:44 2009
assume array A[100] has 100 elements and each elements is an integer with
2 bytes. If a linked list B is used to store 100 data that are same as array
A, please answer the following questions. Note that each memory address is
4 bytes long.
1.how many memory bytes are needed to store array A?
A.100 byte B.200 byte C.300 byte D.500 byte
2.how many memory bytes are needed to store linked list B?
A.200 byte B.400 byte C.600 byte D.100 byte
答案是1.B 2.C 可以麻烦知道的话帮忙回答一下为什麽吗??谢谢罗
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.128.41.208
1F:推 zptdaniel:1. 100*2 = 200 | 2. (2+4)*100 = 600 05/20 12:55