No, as you called new without delete before the program ends the destructor is never called. The operating system simply reclaims that space in memory without knowing its contents.
So, moral of the story, always use delete or even better use smart pointers.
You create an object by dynamic allocation with new in the SCOPE OF MAIN( )
So you have to delete *t before MAIN( ) ends....
And when you delete *t,
first, it calls the destructor for your dynamically created object for TEST,
then it deletes t....
keep in mind,
....Use delete where you use new in the scope of an object ( before it ends ).
EXTRA THING :
Sometimes you need to call DESTRUCTOR explicitly. Refer below link....
Connection issues with Epson Printers are really very frequent for most of the devices. As it may not recognize in a proper manner. If they get an error like https://errorcode0x.com/fix-epson-printer-error-code-0x97/ that must be recovered by them.