C++ Programming - Constructors and Destructors - Discussion
Discussion Forum : Constructors and Destructors - General Questions (Q.No. 25)
                   
                                       
                                25.
Which of the following statement is correct about destructors?
 
                                    Discussion:
3 comments Page 1 of 1.
                
                        E.arun kumar said: 
                         
                        1 decade ago
                
                Constructor has to be added at every new functions to the existing function but one destructor is enough to destroy more number of functions. So destructor has no return type.
                
                        Raj kumar prasad said: 
                         
                        1 decade ago
                
                There is no address for the constructor as well as destructor so there is no need of return type.
                
                        Akshay bhosale said: 
                         
                        10 years ago
                
                Because destructor has not any return datatype.
                Post your comments here:
 
            
        Quick links
                            Quantitative Aptitude
                                    
                                    Verbal (English)
                                    
                                    Reasoning
                                    
                                Programming
                                    
                                    Interview
                                    
                                     Placement Papers