What is Destructor ?

No comments


Destructor  is  a  member  function  having  the  character  ~(tilled)  followed  by  a  function  name  which  is  same  as  the  class  name  and  automatically  executed  when  the  object  goes  out  of  scope(block)  or,  the  object  is  no  longer  needed.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀