A.It throws an insufficient_memory exception.
B.It returns null.
C.It throws a bad_alloc exception.
D.It returns silently with no effect on the expression.
E.It logs an error message to the mem_err.log file.
选C
解析编程中常见的内存异常
本文深入探讨了编程中常见的内存异常类型,包括不足内存异常、返回null、异常分配、无声表达效果和错误日志记录,并详细解释了每种异常的情况和解决策略。
A.It throws an insufficient_memory exception.
B.It returns null.
C.It throws a bad_alloc exception.
D.It returns silently with no effect on the expression.
E.It logs an error message to the mem_err.log file.
选C

被折叠的 条评论
为什么被折叠?