To the best of my understanding, the operation
is fundamentally incorrect and cannot be used correctly.
In practice, it is something you often want to do and with modest care, it acts correctly, and I have used it in cases where it is a major pain to avoid using it.
You are mixing that question with the simpler question of accessing member variables of a deleted object. Obviously, that is also totally incorrect. But as eSelix explained, you aren't guaranteed to get garbage when executing incorrect code.
Originally Posted by Shahid nx
Thanks But When i call delete this i m seeing only the first variable of class (c) is getting filled with garbage data
Try reading the answer you received before saying "thanks but". You are ignoring what you were just told and asking what was already clearly answered.