Can a destructor be called directly?
No Answer is Posted For this Question
Be the First to Post Answer
difference between structure and union.
What are the advantages of polymorphism?
what is virtual function?
What do you mean by inheritance?
Write an operator overloading program to write S3+=S2.
WHEN A COPY CONSTER IS CALL ?
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
Precompilation ?
Program to open a file with First argument
how to swap to variables without using thrid variable in java?
Should you protect the global data in threads? Why or why not?
What are the four main oops concepts?