what is use to destroy an object? illustrate.

Answer Posted / rakhi

Object is distroyed when it goes out of the scope and it
can be distroy with its default destructor.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes polymorphism?

577


Why do we use encapsulation in oops?

522


Why do we need polymorphism in c#?

686


how to get the oracle certification? send me the answer

1670


any one please tell me the purpose of operator overloading

1967






#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2168


What is the point of polymorphism?

588


Can an interface inherit a class?

561


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1642


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1405


What is super in oop?

599


What is pointer in oop?

537


What is class encapsulation?

593


Why do we use polymorphism in oops?

581


What is meant by oops concept?

612