关于堆栈的一个小例子
2010-12-08 17:06
#include <iostream.h> void main() { char *p; p="hello to the world!"; cout<<p<<endl;
int iA = 0; int iB = 1; int ic = 2; *(&iB-1) = 1; cout <<"ia:"<<iA << endl; cout <<"ib:"<<iB<< endl; cout <<"ic:"<<ic << endl; } |