help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about "new" and "delete" ?


From: Thomas Maeder
Subject: Re: question about "new" and "delete" ?
Date: Sun, 06 Mar 2005 08:32:41 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"jack" <lixiaoyao5880@yahoo.com> writes:

> the following code can be run and can generate result:
> a[9]=10;
> what happend there?

Your program has undefined behavior.

What you are seeing is one instance of undefined behavior.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]