Code:
tmain(intargc, _TCHAR* argv[]){
int*p = new int;
*p = 0;
cout<< *p << endl;}
my ans for this would be p stored in heap due to the new command and *p will be stored in BSS since it is initialised to zero. but im not sure whether that is right.
need some conformation..
thanks
Comment