Do we have private destructors?

Answer Posted / shakti singh khinchi

U can't instantiate instance of that class.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are virtual functions implemented in c++?

605


Where are setjmp and longjmp used in c++?

626


What is pointer with example?

564


What happens when the extern "c" char func (char*,waste) executes?

640


What is the difference between containment and delegation?

706






What's the hardest coding language?

576


Why c++ is better than c language?

567


Why do we use structure in c++?

580


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

794


Define stacks. Provide an example where they are useful.

583


What is the difference between the indirection operator and the address of oper-ator?

614


What is array in c++ example?

653


How to declare an array of pointers to integer?

587


can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

1643


What is oops in c++?

593