How to write a program such that it will delete itself after
exectution?

Answer Posted / ven

I am not sure but I guess create a destructor

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the storage classes in c++.

739


What is c++ runtime?

735


What do you mean by const correctness?

714


What does obj stand for?

729


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

905






What is the difference between *p++ and (*p)++ ?

860


What is a .lib file in c++?

642


Does there exist any other function which can be used to convert an integer or a float to a string?

728


Which bit wise operator is suitable for checking whether a particular bit is on or off?

693


What is the use of dot in c++?

712


What is the difference between C and CPP?

716


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

722


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2339


What is c++ coding?

759


How do pointers work?

808