<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi omniORB friends,<br><br>You're the experts of omniORB, I think you're expert in C++, also.<br><br>I have a question, who knows is very welcome:<br><br>Assume we have a fragment of code:<br><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">typedef char String [46];</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">String* pStr = new String[10];</span><br><br>A question are: <br>1. How is memory allocated for the pointer pStr? <br>2. If we use <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">delete pStr;</span> , is the memory allocated for the pointer deleted completely?<br><br>Regards,<br>Hung<br></div>
</div><br>
</body></html>