What happens if an exception is throws from an object's constructor and from object's destructor?
TCS,
3 7159Post New C++ General Questions
Difference between delete and free.
What c++ is used for?
How do you generate a random number in c++?
Is java based off c++?
What is vectorial capacity?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Which sort does c++ use?
Should a constructor be public or private?
What is the keyword auto for?
When should I use unitbuf flag?
What is encapsulation in C++? Give an example.
Explain the pure virtual functions?
What are smart pointers?
What are exceptions c++?
What does the linker do?