摘要:
Array & Pointer Are they equivalent?Consider the following two pieces of code:int *p;...c = p[1];int p[10];...c = p[1];Are they equivalent? If not, which is faster? The answer is here:Disassembled for c = p[1]:mov eax,dword ptr[p]mov ecx,dword ptr[eax+4]mov dword ptr[c],ecxDisassembled for c = p 阅读全文
posted @ 2008-04-16 22:05
sun_kang
阅读(254)
评论(0)
推荐(0)


浙公网安备 33010602011771号