请输入您要查询的字词:

 

单词 dangling reference
释义
dangling reference

Computer
  • The memory access error that arises when a pointer contains the address of a variable that has been deallocated in memory (i.e. whose memory address has been removed from the program or is not contained at the address referenced by the pointer). For illustration, consider a block-structured language in which the block defines the scope of the variables therein declared. Consider then a pointer variable, p, with a global scope. If p is assigned within the block the reference to (i.e. the memory address of) a local variable, x, it will still hold that reference at the end of the block. Any attempt to use the pointer p—still containing a reference to x—after the block will constitute a dangling reference.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/28 18:49:59