常見例句雙語例句Listing 1. Code with memory leak and dangling pointer (mem_errors.c)列表 1.帶有一個內(nèi)存滲漏和一個不斷擺動的指針的代碼 (mem_errors.c)The code shown in Listing 1 shows both a memory leak and a dangling pointer.顯示在 列表 1中的代碼展示了一個內(nèi)存滲漏和一個不斷擺動的指針。However, it is the interaction of these two functions and using a global pointer variable called namestr that causes both the leak and the dangling pointer.然而,它是這兩個函數(shù)的相互作用,利用一個全球性的指針變量叫做namestr,它會導(dǎo)致滲漏和不斷擺動的指針。 返回 dangling pointer