VMWare Inc Interview Question
Software Engineer / DevelopersI don't have the code anymore but there are a few things you need to watch out for.
1) malloc passed back a NULL pointer. You need to cast this pointer to whatever you want.
2) for string, need to allocate an extra byte for the end character.
3) double pointers.
4) (delete and malloc) and (free and new) don't go together
Can u plz send that code
- Amit February 28, 2007